:root {
  --ink: #3d2c1e;
  --paper: #ddc490;
  --panel: #f2e0b8;
  --soft: #e7cf9f;
  --gold: #b0905a;
  --green: #b0905a;
  --red: #bca897;
  --teal: #3d2c1e;
  --muted: #6b5543;
  --line: rgba(61, 44, 30, 0.16);
  --shadow: 0 22px 70px rgba(61, 44, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(188, 168, 151, 0.45), transparent 28%),
    linear-gradient(180deg, var(--paper), #d5ba85);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body:not(.loaded) {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--panel);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(420px, 82vw);
  animation: loaderLift 1.15s ease-in-out infinite alternate;
}

.loader-mark img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.pdf-logo {
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border: 0;
}

.site-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.pdf-logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.2rem;
}

.pdf-logo-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.pdf-logo-loader {
  width: min(260px, 56vw);
  height: auto;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 18px 40px rgba(61, 44, 30, 0.12);
}

.loader-mark span {
  width: min(220px, 58vw);
  height: 4px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(24, 22, 20, 0.12);
}

.loader-mark span::after {
  content: "";
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--ink));
  animation: loaderBar 1s ease-in-out infinite;
}

@keyframes loaderLift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

@keyframes loaderBar {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(230%);
  }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  min-height: 92px;
  gap: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(176, 144, 90, 0.28);
  border-radius: 8px;
  background: rgba(242, 224, 184, 0.92);
  box-shadow: 0 18px 55px rgba(61, 44, 30, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 112px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.pdf-logo-header {
  width: 100%;
  height: 74px;
  border-radius: 10px;
  background: transparent;
  object-position: center;
  filter: drop-shadow(0 10px 22px rgba(61, 44, 30, 0.12));
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 900;
}

nav a,
.nav-menu-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

nav a:hover,
.nav-menu-button:hover,
nav a:focus-visible,
.nav-menu-button:focus-visible {
  background: rgba(176, 144, 90, 0.18);
  outline: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  align-items: end;
  gap: 22px;
  padding: 150px max(28px, calc((100vw - 1120px) / 2)) 64px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(61, 44, 30, 0.84), rgba(61, 44, 30, 0.54) 56%, rgba(61, 44, 30, 0.26)),
    image-set(url("Bilder/Eingang.png") 1x) center 46% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.46), transparent);
  pointer-events: none;
}

.hero-panel,
.quick-card {
  position: relative;
  z-index: 1;
}

.hero-panel {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ddc490;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 8ch;
  margin-bottom: 18px;
  font-size: clamp(4.8rem, 14vw, 10rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
  line-height: 1.1;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #fff7e8;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #9f7f4b;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(61, 44, 30, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button.secondary {
  border: 1px solid rgba(255, 240, 218, 0.55);
  background: rgba(188, 168, 151, 0.18);
  color: #fff;
}

.quick-card {
  padding: 18px;
  border: 1px solid rgba(221, 196, 144, 0.34);
  border-radius: 8px;
  background: rgba(188, 168, 151, 0.18);
  box-shadow: 0 24px 70px rgba(61, 44, 30, 0.24);
  backdrop-filter: blur(18px);
}

.quick-card p {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-card p:last-child {
  border-bottom: 0;
}

.quick-card strong,
.quick-card span {
  display: block;
}

.quick-card strong {
  color: #fff;
}

.quick-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.mobile-highlights {
  display: none;
}

.intro,
.gallery-section,
.visit,
.contact-shell {
  padding: 86px max(28px, calc((100vw - 1120px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 72px;
  align-items: end;
  background: linear-gradient(180deg, rgba(242, 224, 184, 0.94), rgba(188, 168, 151, 0.28));
}

.intro > p,
.visit-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-section {
  background: linear-gradient(180deg, rgba(188, 168, 151, 0.28), #4a3726);
  color: #fff7e8;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

.gallery-section .eyebrow {
  color: var(--paper);
}

.gallery-grid {
  columns: 4 190px;
  column-gap: 10px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 18px 34px rgba(34, 23, 16, 0.22);
  break-inside: avoid;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(34, 23, 16, 0.28);
}

.gallery-item-large {
  grid-column: auto;
}

.gallery-item-wide {
  grid-column: auto;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(330px, 1fr);
  gap: 76px;
  background: linear-gradient(180deg, #4a3726, var(--ink));
  color: #fff7e8;
}

.visit .eyebrow {
  color: var(--paper);
}

address {
  margin-bottom: 20px;
  font-style: normal;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 900;
}

.visit-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.visit-details {
  align-self: center;
  padding: 20px;
  border: 1px solid rgba(221, 196, 144, 0.18);
  border-radius: 8px;
  background: rgba(188, 168, 151, 0.12);
}

.visit-details p {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.visit-details p:first-child {
  padding-top: 0;
}

.visit-details p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.visit-details strong {
  color: rgba(255, 255, 255, 0.62);
}

.visit-details a {
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  flex-wrap: wrap;
  padding: 24px max(28px, calc((100vw - 1120px) / 2));
  color: #fff7e8;
  background: #2f2218;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-hours {
  display: grid;
  gap: 6px;
  min-width: min(280px, 100%);
}

.footer-hours p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.footer-hours p:first-child {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
}

.footer-hours span {
  color: rgba(255, 247, 232, 0.84);
}

.footer-hours strong {
  color: #fff7e8;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.footer-link {
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.impressum-main {
  min-height: 100vh;
  padding: 150px max(28px, calc((100vw - 1120px) / 2)) 72px;
}

.impressum-card {
  max-width: 680px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(176, 144, 90, 0.26);
  border-radius: 18px;
  background: rgba(242, 224, 184, 0.92);
  box-shadow: 0 28px 70px rgba(61, 44, 30, 0.14);
}

.impressum-title {
  margin-bottom: 14px;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.92;
}

.impressum-copy {
  max-width: 46ch;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.02rem;
}

.impressum-details {
  display: grid;
  gap: 0;
  margin: 0 0 30px;
}

.impressum-details p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.impressum-details p:last-child {
  border-bottom: 0;
}

.impressum-details strong {
  color: var(--muted);
}

.impressum-details span,
.impressum-details a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.visit-contact-button {
  margin-top: 28px;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.visit-actions .visit-contact-button {
  margin-top: 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
  background: linear-gradient(180deg, rgba(242, 224, 184, 0.94), rgba(188, 168, 151, 0.24));
}

.contact-intro {
  max-width: 760px;
}

.contact-logo-panel,
.contact-form,
.contact-info-card {
  border: 1px solid rgba(176, 144, 90, 0.26);
  border-radius: 8px;
  background: rgba(242, 224, 184, 0.92);
  box-shadow: var(--shadow);
}

.contact-logo-panel {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 22px;
}

.pdf-logo-hero {
  width: 100%;
  height: min(72vh, 620px);
  border-radius: 8px;
  background: var(--soft);
  filter: drop-shadow(0 14px 28px rgba(61, 44, 30, 0.12));
}

.contact-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-info-card {
  margin-top: 26px;
  padding: 18px 20px;
}

.contact-info-card p {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-card p:last-child {
  border-bottom: 0;
}

.contact-info-card strong {
  color: var(--muted);
}

.contact-info-card a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(61, 44, 30, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.88);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(176, 144, 90, 0.42);
  outline-offset: 2px;
}

.contact-submit {
  width: 100%;
  margin-top: 6px;
}

.contact-status {
  margin: -2px 0 2px;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-status-error {
  color: #8a2e2e;
}

.contact-status-success {
  color: #2f5c36;
}

.is-hidden {
  display: none;
}

.contact-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 98px minmax(0, 1fr);
    width: calc(100% - 24px);
    min-height: 82px;
    top: 12px;
  }

  .brand {
    width: 98px;
  }

  .hero,
  .intro,
  .gallery-heading,
  .visit {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 132px 20px 42px;
  }

  .quick-card {
    max-width: 520px;
  }

  .intro,
  .gallery-section,
  .visit,
  .contact-shell {
    padding: 64px 20px;
  }

  .gallery-grid {
    columns: 3 170px;
    column-gap: 9px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
    min-height: 74px;
    padding: 7px;
  }

  .brand {
    width: 82px;
  }

  .pdf-logo-header {
    height: 54px;
  }

  nav {
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a,
  .nav-menu-button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid rgba(61, 44, 30, 0.08);
    background: rgba(242, 224, 184, 0.78);
    font-size: 0.78rem;
    line-height: 1;
  }

  .hero {
    min-height: 100svh;
    align-content: end;
    padding: 106px 14px 18px;
    background:
      linear-gradient(180deg, rgba(61, 44, 30, 0.22), rgba(61, 44, 30, 0.8) 58%, rgba(61, 44, 30, 0.96)),
      image-set(url("Bilder/Eingang.png") 1x) center 42% / cover no-repeat;
  }

  .hero-panel {
    padding: 18px;
    border: 1px solid rgba(221, 196, 144, 0.18);
    border-radius: 8px;
    background: rgba(61, 44, 30, 0.28);
    backdrop-filter: blur(12px);
  }

  h1 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: clamp(3.7rem, 22vw, 5.2rem);
    line-height: 0.86;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero-copy {
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    gap: 9px;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .quick-card {
    display: none;
  }

  .mobile-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
    background: #4a3726;
    color: #fff7e8;
  }

  .mobile-highlights p {
    min-height: 82px;
    margin: 0;
    padding: 12px 9px;
    border: 1px solid rgba(221, 196, 144, 0.16);
    border-radius: 8px;
    background: rgba(188, 168, 151, 0.12);
  }

  .mobile-highlights strong,
  .mobile-highlights span {
    display: block;
  }

  .mobile-highlights strong {
    margin-bottom: 5px;
    color: var(--paper);
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .mobile-highlights span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .intro,
  .gallery-section,
  .visit,
  .contact-shell {
    padding: 52px 16px;
  }

  .intro {
    gap: 12px;
  }

  .gallery-heading {
    gap: 8px;
    margin-bottom: 18px;
  }

  .gallery-grid {
    columns: 1;
    column-gap: 0;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .intro > p,
  .visit-copy p {
    font-size: 1rem;
  }

  .visit {
    gap: 28px;
  }

  .visit-details {
    padding: 16px;
  }

  .visit-details p {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  footer {
    display: block;
    padding: 24px 16px;
  }

  .impressum-main {
    padding: 116px 16px 56px;
  }

  .footer-hours {
    margin-top: 18px;
  }

  .impressum-card {
    border-radius: 14px;
  }

  .impressum-title {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
  }

  .impressum-details p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  footer a {
    display: inline-block;
    margin-top: 10px;
  }

  .mobile-sticky-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(221, 196, 144, 0.22);
    border-radius: 8px;
    background: rgba(61, 44, 30, 0.92);
    box-shadow: 0 18px 48px rgba(61, 44, 30, 0.25);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky-bar a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-sticky-bar a + a {
    background: var(--gold);
    color: #fff7e8;
  }

  .contact-form,
  .contact-info-card {
    padding: 16px;
  }

  .contact-info-card p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
