:root {
  --font-primary: "Montserrat", Arial, sans-serif;
  --font-secondary: "Acme", Arial, sans-serif;

  --primary-color: #b82b33;
  --secondary-color: #f5f0e6;
  --white-color: #ffffff;
  --dark-color: #333333;
}

html {
  scroll-behavior: smooth;
}

* {
  font-family: "Montserrat";
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  box-sizing: border-box;
}

.color-white {
  color: var(--white-color);
}

.hiddenOnDesktop {
  display: none;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.button {
  padding: 10px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: var(--white-color) 2px solid;
  font-size: 18px;
  border-radius: 10px;
  font-family: "Acme";
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}

a {
  font-size: 18px;
  text-decoration: none;
  list-style: none;
  color: var(--dark-color);
}

.button:hover {
  background-color: var(--dark-color);
  color: var(--white-color);
  cursor: pointer;
}

.boxed-container {
  width: 1150px;
  margin-inline: auto;
  display: flex;
}

header {
  display: flex;
  justify-content: space-around;
  position: fixed;
  width: 100vw;
  top: 0;
  align-items: center;
  height: 110px;
  padding: 32px;
  background-color: var(--secondary-color);
}

.header_logo {
  width: 232px;
}

h1 {
  color: var(--primary-color);
  font-family: "Acme";
  font-size: 62px;
  margin-bottom: 0;
}

h2 {
  color: var(--primary-color);
  font-family: "Acme";
  font-size: 24px;
  margin-top: 0;
}

h3 {
  color: var(--primary-color);
  font-family: "Acme";
  font-size: 20px;
  margin-top: 0;
}

hr {
  width: 80px;
  color: var(--primary-color);
  margin-top: 6px;
  margin-bottom: 6pxs;
}

p {
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
}

navbar a {
  list-style: none;
  text-decoration: none;
  color: var(--dark-color);
  text-transform: uppercase;
}

navbar a:hover {
  color: var(--primary-color);
}

navbar a:focus {
  color: var(--primary-color);
}

.cover {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: url(img/cover-home.jpg);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 2000px #262626c5;
}

.cover-inhalt {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--white-color);
  gap: 18px;
}

.cover-title{
  font-size: 92px;
}

.cover_logo {
  width: 332px;
  background-color: var(--white-color);
  border-radius: 40px;
  padding: 12px;
}

.welcome_inhalt {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  gap: 8px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.welcome_title {
  font-size: 32px;
}

.welcome_subtitle {
  font-weight: 100;
  font-size: 24px;
}

.welcome_img {
  width: 432px;
  margin: 32px;
  border-radius: 12px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.speisekarte_inhalt {
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
}
.speisekarte {
  background-image: url(img/struktur.jpg);
  box-shadow: inset 0 0 0 2000px #ffb274a8;
  padding-bottom: 32px;
  padding-top: 32px;
}

.speisekarte-textbox {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 32px;
  padding-left: 132px;
  color: var(--white-color);
  gap: 12px;
}

.speisekarte-img {
  width: 292px;
  border-radius: 12px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.speisekarte_buttons {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.reservierung {
  background-image: url(img/reservation-img.jpg);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  background-position: center;
  background-size: cover;
}

.reservierung-inhalt {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  margin-top: 124px;
  margin-bottom: 124px;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 32px;
  border-radius: 12px;
  gap: 12px;
}

.information_textbox {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.contact_form {
  margin-left: 320px;
}

.information_textbox a {
  text-decoration: none;
  list-style: none;
  color: var(--dark-color);
  text-align: center;
}

.information_inhalt {
  display: flex;
  text-align: center;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}

.information {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  padding-top: 32px;
  padding-bottom: 32px;
  background-image: url(img/mandala.png);
  box-shadow: inset 0 0 0 2000px #fffffff1;

  background-position: center;
  background-size: cover;
}

footer {
  position: flex;
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 32px;
  overflow: hidden;
  bottom: 0;
}

footer a:hover {
  color: var(--primary-color);
}

.footer_inhalt {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  color: var(--dark-color);
  gap: 12px;
}

.rechtliches_footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.rechtliches_footer a {
  gap: 8px;
  text-decoration: none;
  list-style: none;
  color: var(--dark-color);
}

.footer_logo {
  width: 222px;
}

.subfooter {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 6px;
  margin-top: 22px;
}

[id] {
  scroll-margin-top: 120px;
}

.subfooter p {
  font-size: 14px;
}

.subfooter a {
  text-decoration: none;
  color: var(--white-color);
  font-size: 14px;
}
.subfooter a:hover {
  color: var(--white-color);
}

.footer_socialicons {
  width: 32px;
  background-color: var(--primary-color);
  padding: 4px;
  border-radius: 50px;
}

.footer_socialicons:hover {
  width: 32px;
  background-color: var(--dark-color);
  padding: 4px;
  border-radius: 50px;
  cursor: pointer;
}

.column {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 2px auto;
}

.column img {
  width: 100%;
  border-radius: 4px;
}

.popup-1 {
  position: fixed;
  text-align: center;
  border-radius: 10px;
  margin: 32px;
  width: 420px;
  padding: 32px;
  top: 25%;
  margin-inline: auto;
  background-color: var(--white-color);
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

dialog[open] {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.7);
  z-index: 9999;
  gap: 12px;
  overflow: hidden;
}

.close-popup-icon {
  width: 32px;
  right: 34px;
  top: 38px;
  position: absolute;
  background-color: var(--primary-color);
  border-radius: 50px;
  padding: 4px;
}

.klima_icon {
  width: 52px;
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 8px;
}

.impressum-datenschutzbox {
  margin-top: 92px;
  display: flex;
  flex-direction: column;
  padding-top: 52px;
  padding-bottom: 52px;
  gap: 12px;
}

.restaurant_open {
  border-radius: 0px 10px 0px 0px;
  bottom: 0px;
  position: fixed;
  padding: 6px;
  background-color: #276830; /* Dein Grün */
  color: white;
  font-size: 14px;
}

.restaurant_closed {
  border-radius: 0px 10px 0px 0px;
  bottom: 0px;
  position: fixed;
  padding: 6px;
  background-color: #b82b33; /* Dein Dunkelrot */
  color: white;
  font-size: 14px;
}

.restaurant_vacation {
  border-radius: 0px 10px 0px 0px;
  bottom: 0px;
  position: fixed;
  padding: 6px;
  background-color: #ffcc00; /* Gelb für Urlaub */
  color: black;
  font-size: 14px;
}

.cover_reservierung {
  padding-top: 92px;
  height: 60vh;
  display: flex;
  background-image: url(img/reservierung-cover.jpg);
  box-shadow: inset 0 0 0 2000px rgba(255, 255, 255, 0.697);
  background-position: center;
  background-size: cover;
}

.cover_reservierung_inhalt {
  color: var(--white-color);
  padding: 32px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.info-box-reservation {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .hiddenOnMobile {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .padding-container {
    padding: 20px;
  }

  .cover-inhalt {
    margin-top: 52px;
    width: 100%;
    height: 100vh;
  }


.cover-title{
  font-size: 62px;
}

  .cover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: 75%;
  }

  navbar{
    gap: 22px;
  }

  .welcome_inhalt {
    display: flex;
    flex-wrap: wrap;
  }

  .welcome_inhalt_box {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .welcome_img {
    width: 100%;
    margin: 0px;
  }

  .cover_logo {
    width: 292px;
    background-size: cover;
    background-position: center;
    padding: 12px;
  }

  .cover-inhalt {
    text-align: center;
    padding: 20px;
  }

  .speisekarte_inhalt {
    flex-direction: column;
    width: 100%;
  }

  .speisekarte-textbox {
    padding: 20px;
  }

  .column {
    grid-template-columns: repeat(1, 1fr);
  }

  .reservierung {
    display: flex;
    padding: 20px;
    background-size: cover;
  }

  .information_inhalt {
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin: 0;
  }

  .information_textbox {
    padding-bottom: 12px;
  }

  .information {
    width: 100%;
    display: flex;
  }

  .footer_inhalt {
    width: 100%;
  }

  .impressum-datenschutzbox {
    width: 100%;
    padding: 20px;
    overflow: hidden;
  }

  .cover_reservierung {
    margin-top: 32px;
    height: 50vh;
  }

  .form_inhalt_box {
    display: flex;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
    padding: 20px;
  }

  .info-box-reservation {
    padding-top: 0;
    padding-bottom: 0;
  }

  .popup-1 {
    margin: 20px;
    width: 90%;
  }

  .header_logo {
    width: 202px;
  }

  #header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  header .button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    height: 42px;
  }

  header .button:hover {
    background-color: var(--dark-color);
    color: var(--white-color);
  }

  .danke_box {
    overflow: hidden;
  }
}
