/* 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;
  width: 90%;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
  word-wrap: break-word; 
}

.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);
}

  /* Table base */
  .table {
    width: 90%;
    max-width: 1000px;
    margin: 5vh auto 2vh auto;
    border-collapse: collapse;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
  }

  .table-h1 {
    text-align: center;
    color: var(--cta-color)
  }

  .table th, .table td {
    padding: .9rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
    word-wrap: break-word;
  }
  .table th {
    text-align: left;
    font-weight: 700;
    background: var(--tertiary-color);
  }

  .table tr:last-child td { border-bottom: 0; }
  .desc { color: var(--muted); font-size: .95rem; line-height: 1.35; }
  .price { white-space: nowrap; font-weight: 600; }
  .tag { display: inline-block; font-size: .8rem; padding: .15rem .2rem; border: 1px solid var(--accent); border-radius: 999px; margin-left: .1rem; color: #7a6257; }

  #hinweis{
    margin: 0 auto;
    text-align: center;
    color: var(--cta-color);
    padding-bottom: 5vh;
  }

/* 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;
}

/* 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;
  width: 98%;
}

.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; 
}

.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;
}

  .table-h1 {
    text-align: left;
    padding-left: 15px;
    color: var(--cta-color)
  }

    .table { width: 85%; padding-left: 15px; margin: 0;}
    .table thead { display: none; }
    .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { border-bottom: 1px solid var(--border); margin-top: 2vh;}
    .table tr:last-child { border-bottom: 0;}
    .table td { border: 0; padding: .65rem 1rem; }
    .table td + td { padding-top: 0; }
    .td-title { font-weight: 700; font-size: 1.05rem; }
    .td-price { margin-top: .35rem; }
    .td-label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: .15rem; text-transform: uppercase; letter-spacing: .04em; }
    .price { font-size: 1.05rem; }

    #hinweis{
        width: 90%;
        text-align: left;
    }

    .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;
}
}