/* Grundlegende Stil-Einstellungen */
:root {
  --primary-color: #A9846A;
  --tertiary-color: #E2DCD9;
  --text-dark: #000;
  --text-light: #fff;
  --bg-light: #fff;
  --cta-color: #70503F;
}

::-webkit-scrollbar {
    display: none;
}

*{
    margin: 0;
    padding: 0;
}

html{
    font-size: 16px;
    overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-light);
  padding: 10px 20px;
  z-index: 1000;
}

.top-header {
  display: flex;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.top-header::after {
  content: ''; 
  position: absolute;
  bottom: 0;
  left: 50%; 
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background-color: #a9846a42; 
}

.nav-menu img{
    width: 15%;
    height: auto;
    display: inline-block;
    justify-self: center;
    align-self: center;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  column-gap: 3vw; 
  align-items: center;
  justify-content: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem; 
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.cta-button {
  background-color: var(--cta-color);
  color: var(--text-light)!important;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem; 
  transition: 1000ms ease-in-out;
}

.cta-button:hover {
     background-color: #634e3f;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #414040;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center; 
}

/* Hamburger Menu */
  .ham-menu {
    display: none; 
  }

  .ham-cta {
      background-color: var(--cta-color);
      color: var(--text-light) !important;
      border: 0.2rem solid var(--cta-color);
      padding: 1vh 0.8vw;
      border-radius: 10px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1rem; 
      transition: 100ms ease-in-out;
      margin-top: 5rem;
  }

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12vh 0 5vh 0;
}

.hero-image img {
  width: 35vw;
  max-width: 800px;
  height: auto;
  margin-bottom: 1vh;
}

.hero-content {
  margin-bottom: 30px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.hero-content p {
  max-width: 600px;
  width: 90%;
  margin: 0 auto 20px;
  font-size: 1.25rem; 
}

.btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1vw;
}

.cta {
  background-color: var(--cta-color);
  color: var(--text-light);
  border: 0.2rem solid var(--cta-color);
  padding: 1vh 0.8vw;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem; 
  transition: 100ms ease-in-out;
}

.ctb {
  background-color: transparent;
  border: 0.2rem solid var(--cta-color);
  padding: 1vh 0.8vw;
  color: var(--text-dark);
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem; 
  transition: 100ms ease-in-out;
}

.ctb:hover {
  background-color: var(--cta-color);
}

/* Service Section */
#leistungen {
    padding: 50px 20px;
    text-align: center;
}

#leistungen h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark); 
    margin-bottom: 0.5rem;
}

#leistungen a{
  color: var(--cta-color);
  font-size: 1.2rem;
  cursor: pointer;
}

.services-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw; 
    max-width: 1200px; 
    margin: 0 auto;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 2vw; 
}

.service-card {
    flex: 0 0 calc(33.333% - 1.333vw); 
    box-sizing: border-box;
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.service-card img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
}

.prev, .next {
    z-index: 10;
    background: var(--primary-color);
    height: 40px;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 5px;
    line-height: 20px;
    text-align: center;
    font-size: 24px;
    display: none;
}

/* Kontakt und Öffnungszeiten */
#kontakt {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  justify-content: center;
  padding: 5vh 0 0 0;
}

#kontakt h2{
  text-align: center;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.map-hour{
  display: flex;
  flex-direction: row;
  gap: 5vw;
  justify-content: center;
}

.hour-table {
  text-align: left;
  border-collapse: collapse;
}

.hour-table td {
  padding-left: 2vw;
}

.hour-table th {
  color: var(--cta-color);
}

.sm {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4vw;
  background-color: var(--cta-color);
  height: fit-content;
  padding: 0;
  color: var(--text-light)
}

.sm-k{
  display: flex; 
  flex-direction: row;
  align-items: center;
  padding: 1rem 0;
  cursor: pointer;
  text-decoration: none;
}

.sm-k span {
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--text-light);   
}

.sm-k img{
  display: block;
  width: 3rem;
  height: auto;
  margin: 0 0.5rem 0 0;
  border: 0.15rem solid #fff;
  border-radius: 50%;
  padding: 0.4rem 0.4rem;
}

/* Über uns Abschnitt */
#über-uns {
  display: flex;
  flex-direction: row;
  gap: 2vw;
  justify-content: center;
  align-items: center;
  padding: 5vh 0;
  background-color: var(--bg-light);
}

#über-uns h2 {
  text-align: left;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.about-content {
  max-width: 800px;
}

.about-content p {
  font-size: 1.125rem; 
  text-align: left;
}

#über-uns img {
  width: 60%;
  max-width: 300px;
  height: auto;
  border-radius: 20px;
}

/* Values Abschnitt */
#values {
  padding: 3vh 0 5vh 0;
}

#values h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;

}

.values-grid {
  display: flex;
  justify-content: center;
  gap: 3vw;
  margin-top: 20px;
}

.value-item {
  display: flex;
  flex-direction: row;
  background-color: var(--tertiary-color);
  padding: 25px 30px;
  border-radius: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem; 
  color: var(--text-dark);
  gap: 0.5rem;
}

.value-item img {
  display: block;
  height: auto;
  width: 40px;
}

/* FAQ Abschnitt */
#faq {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 0 2px 0;
  margin: 5vh auto 0 auto;
  border-radius: 20px;
  background-color: var(--tertiary-color);
  width: 90%;
  max-width: 1000px;
}

#faq h2 {
  text-align: center;
  margin: 0 auto;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.faq-item {
  border-top: 1px solid var(--cta-color);
  overflow: hidden;
  padding: 0 0.5vw;
}

.faq-item span{
  color: #000;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  width: 90%;
  gap: 1vw;
  padding: 15px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  padding: 12px 20px; /* wird automatisch bei JS gesetzt */
}

.faq-item .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  transform: scaleX(1.5);
}

.faq-item.active .arrow {
  transform: rotate(180deg) scaleX(1.5);
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: fit-content;
  background-color: #E2DCD9;
  color: var(--text-dark);
  text-align: center;
  margin-top: 5vh;
  padding: 20px 0;
}

.bottom-cta {
  padding: 3vh 0 4vh 0;
}

.bottom-cta p{
  padding: 0 0 3vh 0;
  width: 90%;
  justify-self: center;
}

.finfo {
  padding: 5vh 0 0 0;
}

.footer-links a {
  color: var(--cta-color);
  margin: 0 10px;
  text-decoration: none;
  font-size: 1rem;
}

.footer-links a:hover {
  font-weight: bold;
}

/* Mobile-Ansicht für eine Karte */
@media (orientation: portrait) {
    html{
    font-size: 15px;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  column-gap: 3vw; 
  align-items: center;
  justify-content: center;
  text-align: left;
}

.nav-menu a {
  display: none;
}

.nav-menu img{
    width: 30%;
    height: auto;
    display: block;
    margin-right: auto;
}

/* Hamburger Icon */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-right: 5vw;
  z-index: 1100
}

/* Hamburger Animation zu X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}


/* Hamburger Menu */
.ham-menu {
  position: fixed;
  top: 0;
  right: -350px; 
  height: 100vh;
  width: 250px;
  background: var(--tertiary-color);
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 20px;
  gap: 20px;
  transition: right 0.4s ease; 
  display: flex;
  z-index: 1050;
}

.ham-menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
}

.ham-menu a:nth-child(1) {
  margin-top: 20vh;
}

/* Aktiv = sichtbar */
.ham-menu.active {
  right: 0;
}

    .hero-image img {
       width: 90%;
       max-width: 800px;
       height: auto;
       margin-bottom: 1vh;
}

    .service-card {
        flex: 0 0 100%;
    }
    .slider-wrapper {
         gap: 0;
    }

    .services-row {
        gap: 0;
    }

    .prev, .next {
        display: block;
}

    .map-hour{
      flex-direction: column;
      gap: 2vh;
      align-items: center;
}
    
    iframe {
      width: 350px;
      height: 350px;
    }

.hour-table td {
  padding-left: 2vw;
  padding-top: 2vh;
}

.hour-table th {
  color: var(--cta-color);
  padding-top: 2vh;
}

.sm{
  display: flex; 
  flex-direction: column;
  align-items: center;
}

#über-uns {
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

.about-content {
  font-size: 1.125rem; 
  text-align: left;
  width: 85%;
}

.values-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2vh;
  margin-top: 20px;
}

.value-item {
  width: 200px;
}
}