:root {
  --sidebar: #0f0e17;
  --sidebar-text: #afb1bd;
  --sidebar-hover: #f25f4c;
  --page-bg: #0f0e17;
  --content-bg: #ffffff;
  --ink: #2e2f33;
  --heading: #000000;
  --accent: #f25f4c;
  --gold: #ffcc00;
  --line: #2e2f3e;
  --button-text: #35415b;
  --toplink-bg: rgba(0, 0, 0, 0.3);
}

@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/poppins-400.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/poppins-700.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}

.fas {
  display: inline-block;
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.fa-phone::before { content: "\f095"; }
.fa-mobile::before { content: "\f10b"; }
.fa-car::before { content: "\f1b9"; }
.fa-pizza-slice::before { content: "\f818"; }
.fa-bread-slice::before { content: "\f7ec"; }
.fa-utensils::before { content: "\f2e7"; }
.fa-leaf::before { content: "\f06c"; }
.fa-glass::before { content: "\f000"; }
.fa-pencil::before { content: "\f040"; }
.fa-clock::before { content: "\f017"; }
.fa-server::before { content: "\f233"; }
.fa-circle::before { content: "\f111"; }
.fa-angle-up::before { content: "\f106"; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.has-reveal-js .reveal {
  opacity: 0;
}

.has-reveal-js .reveal--left {
  transform: translate3d(-54px, 0, 0);
}

.has-reveal-js .reveal--right {
  transform: translate3d(54px, 0, 0);
}

.has-reveal-js .reveal--top {
  transform: translate3d(0, -42px, 0);
}

.has-reveal-js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.menu-item__prices.reveal {
  transition-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .has-reveal-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-shell {
  min-height: 100vh;
}

.site-sidebar {
  background-color: var(--sidebar);
  background-image: url('../img/header-stone.avif');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.08);
  color: var(--sidebar-text);
  inset: 0 auto 0 0;
  min-height: 100vh;
  overflow: visible;
  position: fixed;
  width: 250px;
  z-index: 20;
}

.site-sidebar::before {
  display: none;
}

.site-sidebar__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  justify-content: center;
  min-height: 100vh;
  padding: 0 24px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.site-logo {
  display: block;
  margin: 0 auto;
  padding-top: 70px;
  width: 70%;
}

.site-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.site-nav {
  margin-left: -24px;
  margin-right: -24px;
  width: calc(100% + 48px);
}

.site-nav__list,
.site-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link,
.site-nav__sub a {
  align-items: center;
  color: var(--sidebar-text);
  display: flex;
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.35;
  padding: 1rem 0;
  position: relative;
  text-transform: none;
}

.site-nav__item.is-active > .site-nav__link,
.site-nav__link:hover,
.site-nav__subitem.is-active a,
.site-nav__sub a:hover {
  color: var(--sidebar-hover);
  text-decoration: none;
}

.site-nav__sub {
  background: var(--sidebar);
  color: var(--sidebar-text);
  display: none;
  margin: 0;
  padding: 6px 0;
}

.site-nav__sub a {
  font-size: 1rem;
  font-weight: 400;
  padding: 7px 10px;
  text-transform: none;
}

.site-nav__item.has-children:hover > .site-nav__sub,
.site-nav__item.has-children:focus-within > .site-nav__sub {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  display: block;
  left: 100%;
  margin: 0;
  min-width: 220px;
  position: absolute;
  top: 0;
  z-index: 80;
}

.site-nav__subitem > a:focus,
.site-nav__sub a:hover {
  background: var(--accent);
  color: #ffffff;
}

.site-nav__item {
  position: relative;
}

.site-contact {
  margin-top: 0;
  padding-top: 0;
  width: 100%;
}

.site-contact__line {
  align-items: center;
  color: var(--sidebar-text);
  display: flex;
  flex-direction: row;
  font-size: 15px;
  gap: 9px;
  justify-content: center;
  margin: 0 0 1.4rem;
}

.site-contact__line i {
  color: inherit;
  min-width: 18px;
}

.site-credit {
  color: var(--sidebar-text);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 0;
}

.site-version {
  color: var(--sidebar-hover);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-height: 760px) and (min-width: 1025px) {
  .site-sidebar__inner {
    gap: 0.9rem;
  }

  .site-logo {
    padding-top: 30px;
    width: 62%;
  }

  .site-nav__link,
  .site-nav__sub a {
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
  }

  .site-contact__line {
    margin-bottom: 0.8rem;
  }
}

.site-main {
  margin-left: 250px;
  min-height: 100vh;
}

.home-hero {
  align-items: flex-start;
  animation: heroFade 12s infinite;
  background-image: linear-gradient(rgba(15, 14, 23, 0.1), rgba(15, 14, 23, 0.26)), var(--hero-a);
  background-position: center;
  background-size: cover;
  display: grid;
  min-height: 100vh;
  padding: clamp(140px, 20vh, 220px) 9vw 10vh;
}

.home-hero__message {
  background: rgba(15, 14, 23, 0.82);
  margin: 0 auto;
  max-width: 560px;
  padding: 20px 34px;
  text-align: center;
}

.home-hero__message h4 {
  color: var(--gold);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.35;
  margin: 0;
}

@keyframes heroFade {
  0%, 46% {
    background-image: linear-gradient(rgba(15, 14, 23, 0.1), rgba(15, 14, 23, 0.26)), var(--hero-a);
  }
  54%, 100% {
    background-image: linear-gradient(rgba(15, 14, 23, 0.1), rgba(15, 14, 23, 0.26)), var(--hero-b);
  }
}

.content-section {
  background: var(--page-bg) url('../img/bg-pizza.webp') no-repeat fixed left top / 100%;
  min-height: 100vh;
  padding: 0 0 64px;
}

.content-grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  margin: 0;
  max-width: none;
  width: 100%;
}

.content-grid--menu {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.content-grid--full {
  grid-template-columns: 1fr;
}

.page-kontakt .content-grid,
.page-oeffnungszeiten .content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.content-panel {
  background: transparent;
  min-height: 100vh;
  padding: 102px 0 0;
}

.content-panel--wide,
.content-panel--menu {
  width: 100%;
}

.content-button {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 1fr);
  margin: 0;
}

.page-impressum .content-button {
  grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 1fr);
}

.content-button > span {
  align-items: center;
  background: #ffffff;
  border: 0 solid transparent;
  color: var(--button-text);
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.07em;
  line-height: 1.2;
  min-width: 132px;
  padding: 0.8em 1.6em;
  grid-column: 2;
  justify-self: start;
  text-align: center;
  text-transform: uppercase;
}

.page-impressum .content-button > span {
  grid-column: 1;
}

.content-button > span:hover {
  background: var(--accent);
  color: #ffffff;
}

.content-button i {
  font-size: 14px;
}

.rich-content {
  background: var(--content-bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 30px;
  margin-left: 0;
  padding: 28px 5% 30px;
}

.rich-content h3,
.rich-content h4,
.rich-content h6 {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.rich-content h3 {
  font-size: 2rem;
  line-height: 1.2;
}

.rich-content h4 {
  font-size: 1.6rem;
  line-height: 1.4;
}

.rich-content h6 {
  font-size: 1.6rem;
  line-height: 1.4;
}

.rich-content > h4:first-child {
  font-size: 2rem;
  line-height: 1.2;
}

.rich-content p {
  margin: 0 0 22px;
}

.page-oeffnungszeiten .rich-content {
  text-align: center;
}

.page-datenschutzerklaerung .rich-content > h3:first-child,
.page-datenschutzerklaerung .rich-content > h4:first-child,
.page-impressum .rich-content > h3:first-child,
.page-impressum .rich-content > h4:first-child {
  text-align: center;
}

.map-frame {
  border: 0;
  display: block;
  max-width: 100%;
  width: 100%;
}

.map-consent {
  background: #f5f5f5;
  min-height: 430px;
  width: 100%;
}

.map-consent iframe {
  border: 0;
  display: block;
  height: min(62vh, 600px);
  min-height: 430px;
  width: 100%;
}

.map-consent__placeholder {
  align-items: center;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-height: 430px;
  padding: 32px;
  text-align: center;
}

.map-consent__placeholder strong {
  color: var(--heading);
  font-size: 1.35rem;
}

.map-consent__placeholder p {
  margin: 0;
  max-width: 520px;
}

.map-consent__placeholder button,
.consent-box button,
.text-link {
  background: var(--accent);
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 8px 18px;
}

.text-link {
  display: inline-block;
}

.menu-images {
  background: var(--content-bg);
  display: grid;
  gap: 24px;
  padding: 28px 5%;
  width: 100%;
}

.menu-images img {
  display: block;
  height: auto;
  width: 100%;
}

.download-line {
  background: var(--content-bg);
  color: var(--ink);
  margin: 0;
  padding: 0 5% 24px;
  text-align: center;
}

.download-line p {
  margin: 0;
}

.category-links {
  background: var(--content-bg);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 0;
  padding: 0 5% 28px;
}

.category-links a {
  border: 1px solid var(--line);
  color: var(--button-text);
  font-weight: 700;
  padding: 8px 13px;
}

.menu-list {
  display: grid;
  gap: 0;
}

.menu-item {
  align-items: center;
  background: var(--content-bg);
  border-bottom-color: var(--line);
  border-bottom-style: dashed;
  border-bottom-width: 1px;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 17px 5%;
}

.menu-item__text h4 {
  color: var(--heading);
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.menu-item__text h4 span {
  color: var(--ink);
}

.menu-item__text p {
  color: var(--ink);
  font-size: 18px;
  line-height: 30px;
  margin: 0;
}

.menu-item__prices {
  color: var(--accent);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  min-width: 220px;
}

.price-line {
  min-width: 62px;
  text-align: center;
}

.price-line strong,
.price-line span {
  display: block;
}

.price-line strong {
  color: var(--accent);
  font-size: 18px;
  white-space: nowrap;
}

.price-line span {
  color: var(--ink);
  font-size: 13px;
}

.allergen-note {
  background: var(--content-bg);
  color: var(--ink);
  font-size: 14px;
  margin-top: 0;
  padding: 28px 5%;
  text-align: center;
}

.mobile-nav-toggle {
  background: var(--accent);
  border: 0;
  display: none;
  height: 44px;
  padding: 12px;
  position: fixed;
  right: 18px;
  top: 18px;
  width: 44px;
  z-index: 30;
}

.mobile-nav-toggle span {
  background: #fffffe;
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 20px;
}

.to-top {
  background: var(--toplink-bg);
  border: 0;
  bottom: 22px;
  color: #fff;
  cursor: pointer;
  display: none;
  height: 42px;
  padding: 0;
  position: fixed;
  right: 22px;
  width: 42px;
  z-index: 25;
}

.to-top.is-visible {
  display: block;
}

.to-top:hover {
  background: var(--accent);
}

.consent-box {
  align-items: center;
  background: rgba(15, 14, 23, 0.96);
  bottom: 0;
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: center;
  left: 250px;
  padding: 14px 18px;
  position: fixed;
  right: 0;
  z-index: 40;
}

.consent-box[hidden] {
  display: none;
}

.consent-box__text {
  max-width: 680px;
}

.consent-box__text strong,
.consent-box__text p {
  display: block;
  margin: 0;
}

.consent-box__text a {
  color: #ffffff;
  text-decoration: underline;
}

.consent-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.consent-box__actions button {
  background: #ffffff;
  color: var(--button-text);
}

.consent-box__actions button:last-child,
.consent-box__actions button[data-consent-save] {
  background: var(--accent);
  color: #ffffff;
}

.consent-panel {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.consent-choice {
  align-items: flex-start;
  display: flex;
  gap: 9px;
}

.consent-choice input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.consent-choice input:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.consent-choice span {
  display: block;
}

.consent-choice small {
  color: #d5d6dd;
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}

.consent-panel[hidden],
.consent-choice[hidden],
.consent-box__actions button[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .site-sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .site-sidebar.is-open {
    transform: translateX(0);
  }

  .site-main {
    margin-left: 0;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .content-grid,
  .content-grid--menu {
    grid-template-columns: 1fr;
  }

  .content-button,
  .page-impressum .content-button {
    display: block;
    padding-left: 5%;
  }

  .content-button > span,
  .page-impressum .content-button > span {
    grid-column: auto;
  }

  .consent-box {
    left: 0;
  }
}

@media (max-width: 680px) {
  .content-section {
    padding: 0 0 28px;
  }

  .content-panel {
    min-height: auto;
    padding: 78px 0 0;
  }

  .menu-item {
    grid-template-columns: 1fr;
  }

  .menu-item__prices {
    justify-content: flex-start;
    min-width: 0;
  }

  .consent-box {
    align-items: stretch;
    flex-direction: column;
  }

  .consent-box__actions {
    align-items: stretch;
    flex-direction: column;
  }
}
