/* =========================================================
   Gasthof im Web · Krefeld — One-Pager
   Design: warmes Creme, Tannengrün, Terrakotta, Senfgelb
   ========================================================= */

:root {
  --cream: #f2e9d5;
  --cream-card: #f9f2e2;
  --green: #1d3a2c;
  --green-deep: #142a20;
  --green-soft: #a9c9a2;
  --ink: #2a332c;
  --ink-soft: #55604f;
  --terracotta: #b0522c;
  --terracotta-dark: #94421f;
  --yellow: #e5c243;
  --yellow-dark: #c9a826;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(29, 58, 44, 0.10);
  --shadow-strong: 0 18px 44px rgba(20, 42, 32, 0.22);
  --header-h: 4.25rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow { max-width: 46rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 200;
  background: var(--yellow);
  color: #3a2f10;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.6rem 0.6rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.0625rem; }

.btn-terracotta {
  background: var(--terracotta);
  color: #fff7ec;
}
.btn-terracotta:hover {
  background: var(--terracotta-dark);
  box-shadow: var(--shadow-strong);
}

.btn-yellow {
  background: var(--yellow);
  color: #3a2f10;
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  box-shadow: var(--shadow-strong);
}

.link-quiet {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(20, 42, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 0.7rem;
  background: var(--terracotta);
  color: #fff7ec;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}

.brand-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-text em {
  font-style: normal;
  color: var(--green-soft);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.5rem; height: 2px;
  border-radius: 2px;
  background: var(--cream);
  content: "";
  position: relative;
}
.nav-toggle-bar { margin-inline: auto; }
.nav-toggle-bar::before { position: absolute; top: -6px; }
.nav-toggle-bar::after { position: absolute; top: 6px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: rgba(242, 233, 213, 0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-menu a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta a {
  background: var(--terracotta);
  color: #fff7ec;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta a:hover {
  background: var(--terracotta-dark);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 56rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--green-deep);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.09) translateY(-1.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(14, 24, 18, 0.82) 0%,
      rgba(14, 24, 18, 0.55) 45%,
      rgba(14, 24, 18, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(242, 233, 213, 0.45);
  border-radius: 999px;
  background: rgba(20, 42, 32, 0.55);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1.02;
  color: var(--cream);
  max-width: 12ch;
}

.hero-accent {
  display: block;
  color: var(--green-soft);
  letter-spacing: 0.02em;
}

.hero-claim {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  color: rgba(249, 242, 226, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(242, 233, 213, 0.85);
}

/* ---------- Sektionen ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.section-title {
  margin: 0 0 1.75rem;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  color: var(--green);
}

.section-title-light { color: var(--cream); }

/* Küche */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.chip {
  background: var(--cream-card);
  border: 1px solid rgba(29, 58, 44, 0.12);
  box-shadow: 0 3px 10px rgba(29, 58, 44, 0.07);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
}

.drinks-line {
  margin: 0 0 2.75rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #8a4a2b;
}
.drinks-line strong { color: var(--terracotta); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.gallery-card {
  margin: 0;
  background: var(--cream-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s ease;
}
.gallery-card:hover img { transform: scale(1.05); }

.gallery-card figcaption {
  padding: 1rem 1.25rem 1.15rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.gallery-card figcaption span {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 0.1rem;
}

/* Story (Name & Räume) */

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.story-card img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.story-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--green);
}

.story-card p {
  margin: 0;
  max-width: 34rem;
}

/* Events */

.section-events {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(169, 201, 162, 0.14), transparent 60%),
    var(--green);
  color: rgba(249, 242, 226, 0.92);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}

.events-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.events-text p { max-width: 34rem; }

.events-list {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}
.events-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}
.events-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--yellow);
}

/* Gästestimmen */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.quote-card {
  margin: 0;
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-rating {
  margin: 0;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.08em;
}

.quote-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}

.quote-author {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* FAQ */

.faq-list details {
  background: var(--cream-card);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(29, 58, 44, 0.07);
  margin-bottom: 0.8rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.4rem;
  position: relative;
  font-weight: 600;
  color: var(--green);
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--terracotta);
  transition: rotate 0.25s ease;
}
.faq-list details[open] summary::after { rotate: 45deg; }

.faq-list details p {
  margin: 0;
  padding: 0 1.4rem 1.2rem;
}

/* Kontakt */

.section-kontakt {
  background: var(--cream-card);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: stretch;
}

.address {
  font-style: normal;
  margin-bottom: 1.75rem;
}
.address p { margin: 0 0 0.4rem; }
.address-name { font-size: 1.1rem; }
.address a { color: var(--terracotta); text-underline-offset: 3px; }

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(29, 58, 44, 0.14);
}
.hours th { font-weight: 600; color: var(--green); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }

.route-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.kontakt-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 24rem;
}
.kontakt-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border: 0;
}

/* ---------- Fußzeile ---------- */

.site-footer {
  background: var(--green-deep);
  color: rgba(242, 233, 213, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-block: 3rem 2rem;
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}
.footer-brand em { font-style: normal; color: var(--green-soft); }

.footer-nap { margin: 0; line-height: 1.8; font-size: 0.95rem; }
.footer-nap a { color: inherit; text-underline-offset: 3px; }

.footer-heading {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2;
  font-size: 0.95rem;
}
.footer-links a {
  color: rgba(242, 233, 213, 0.82);
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-base {
  border-top: 1px solid rgba(242, 233, 213, 0.15);
  padding-block: 1.1rem;
  font-size: 0.85rem;
  color: rgba(242, 233, 213, 0.65);
}
.footer-base p { margin: 0; }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */

.legal-page {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem));
}

.legal-page h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: var(--green);
  margin: 0 0 1rem;
}

.legal-page h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green);
  margin: 2rem 0 0.5rem;
}

.placeholder-note {
  background: #fdf3d7;
  border: 1px solid rgba(201, 168, 38, 0.5);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: #6b5410;
  font-weight: 500;
}

.nav-menu-legal { gap: 1rem; }

/* ---------- Scroll-Reveals ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .gallery-card img { transition: none; }
}

/* ---------- Responsiv ---------- */

@media (max-width: 62em) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .events-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* Mobile Navigation */
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green-deep);
    padding: 0.75rem 0 1.25rem;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
    display: none;
  }
  .site-header.nav-open .nav-menu { display: flex; }

  .nav-menu li { text-align: center; }
  .nav-menu a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
  }
  .nav-cta a { display: inline-flex; margin-top: 0.6rem; }
}

@media (max-width: 40em) {
  .gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { max-width: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}
