@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../assets/fonts/caveat-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #fdfcf9;
  --hell: #f6f4ef;
  --tinte: #1f1f1d;
  --text: #4a4a46;
  --linie: #e4e0d6;
  --akzent: #9c2b23;
  --gedaempft: #7a776f;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --breite: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--akzent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--tinte);
  line-height: 1.15;
  margin: 0;
}

.hand {
  font-family: var(--hand);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--akzent);
  margin: 0 0 0.25rem;
}

/* Kopfzeile */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--tinte);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo span { color: var(--akzent); }
.menue { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.menue a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.menue a:hover { border-bottom-color: var(--akzent); }

/* Hero */
.hero {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gedaempft);
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.hero h1 .hand {
  font-size: 1.15em;
  display: inline-block;
  transform: rotate(-3deg);
  margin: 0 0.1em;
}
.slogan {
  font-size: 1.05rem;
  max-width: 34ch;
  margin: 0 0 2rem;
}
.hero-bild { margin: 0; border: 1px solid var(--linie); padding: 0.6rem; background: #fff; }
.hero-bild img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* Knöpfe */
.knopf {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--tinte);
  color: var(--papier);
  border: 1px solid var(--tinte);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.knopf:hover { background: var(--akzent); border-color: var(--akzent); color: var(--papier); }
.knopf-hell { background: transparent; color: var(--tinte); }
.knopf-hell:hover { background: var(--tinte); color: var(--papier); }

/* Abschnitte */
.abschnitt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--linie);
}
.abschnitt-hell { background: var(--hell); max-width: none; border-top: 1px solid var(--linie); }
.abschnitt-hell > * { max-width: var(--breite); margin-left: auto; margin-right: auto; }
.abschnitt-kopf { text-align: center; margin-bottom: 3rem; }
.abschnitt-kopf h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 400; }
.abschnitt-kopf::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--akzent);
  margin: 1.25rem auto 0;
}

/* Speisekarte */
.karte {
  display: grid;
  gap: 2.5rem 4rem;
  grid-template-columns: 1fr;
}
.kategorie h3 {
  font-size: 1.6rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--tinte);
  margin-bottom: 0.75rem;
}
.kategorie ul { list-style: none; margin: 0; padding: 0; }
.kategorie li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linie);
}
.kategorie li > span:first-child { color: var(--tinte); }
.kategorie li::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 1px dotted #bdb8ac;
  transform: translateY(-0.3em);
}
.kategorie li .preis { order: 2; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--tinte); }
.kategorie li { border-bottom: none; }
.hinweis {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gedaempft);
  margin: 3rem 0 0;
}

/* Galerie */
.galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.galerie-bild {
  display: block;
  overflow: hidden;
  border: 1px solid var(--linie);
  background: #fff;
  padding: 0;
  cursor: zoom-in;
}
.galerie-bild img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.galerie-bild:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(253, 252, 249, 0.97);
}
.abschnitt-hell > .lightbox { max-width: none; margin: 0; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border: 1px solid var(--linie);
  background: #fff;
  padding: 0.5rem;
}
.lightbox figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--gedaempft); }
.lb-schliessen,
.lb-pfeil {
  position: absolute;
  background: none;
  border: 1px solid var(--linie);
  color: var(--tinte);
  cursor: pointer;
  font-family: var(--serif);
  line-height: 1;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.lb-schliessen:hover,
.lb-pfeil:hover { border-color: var(--akzent); color: var(--akzent); }
.lb-schliessen { top: 1rem; right: 1rem; }
.lb-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Besuch */
.besuch {
  display: grid;
  gap: 2rem;
}
.infokarte {
  padding: 2.25rem 2rem;
  background: #fff;
  border: 1px solid var(--linie);
}
.infokarte h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.infokarte h3:not(:first-child) { margin-top: 2.25rem; }
.zeiten { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.zeiten th,
.zeiten td {
  text-align: left;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
.zeiten th { font-weight: 400; color: var(--tinte); padding-right: 1rem; }
.zeiten td { font-variant-numeric: tabular-nums; }
address { font-style: normal; line-height: 1.8; color: var(--tinte); }
address a { color: var(--tinte); }
.anfahrt { list-style: none; margin: 0 0 2rem; padding: 0; }
.anfahrt li { padding: 0.9rem 0; border-bottom: 1px solid var(--linie); }
.anfahrt li:first-child { padding-top: 0; }
.anfahrt strong { display: block; color: var(--tinte); font-weight: 400; font-family: var(--serif); font-size: 1.15rem; }

/* Kontakt */
.kontakt { max-width: 640px; margin: 0 auto; }
.formular { display: grid; gap: 1.5rem; }
.pflicht-hinweis { margin: 0; font-size: 0.875rem; color: var(--gedaempft); }
.stern { color: var(--akzent); }
.feld { display: grid; gap: 0.4rem; }
.feld label { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--tinte); }
.feld input,
.feld textarea {
  width: 100%;
  padding: 0.85rem 0;
  font: inherit;
  color: var(--tinte);
  background: transparent;
  border: none;
  border-bottom: 1px solid #bdb8ac;
  border-radius: 0;
  transition: border-color 0.2s;
}
.feld textarea { resize: vertical; min-height: 8rem; }
.feld input:focus,
.feld textarea:focus { outline: none; border-bottom-color: var(--akzent); box-shadow: 0 1px 0 var(--akzent); }
.formular .knopf { justify-self: start; cursor: pointer; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung {
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--tinte);
  background: #fff;
  color: var(--tinte);
}
.meldung.fehler { border-left-color: var(--akzent); }

/* Fuß */
.fuss {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid var(--linie);
  font-size: 0.875rem;
  color: var(--gedaempft);
}
.fuss .hand { font-size: 1.8rem; margin-bottom: 0.5rem; }
.fuss p { margin: 0.25rem 0; }

/* Größer ab Tablet */
@media (min-width: 640px) {
  .galerie { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .infokarte { padding: 2.75rem 2.5rem; }
}

/* Großer Bildschirm */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1.1fr;
    padding: 6rem 1.5rem 5rem;
    gap: 4rem;
  }
  .karte { grid-template-columns: 1fr 1fr; }
  .besuch { grid-template-columns: 1fr 1fr; }
  .abschnitt { padding: 7rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
