@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;600&display=swap');

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

:root {
  --espresso: #23180F;
  --roast: #4A3524;
  --copper: #B87333;
  --cream: #F4ECDE;
  --oat: #DCCDB4;
  --warm-grey: #8A7B69;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --section-pad: clamp(4rem, 8vw, 8.75rem);
  --max-width: 72rem;
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: currentColor; text-decoration: underline; text-underline-offset: 0.2em; }
a:hover { opacity: 0.85; }

.surface-espresso { background-color: var(--espresso); color: var(--cream); }
.surface-cream { background-color: var(--cream); color: var(--espresso); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }
.surface-roast { background-color: var(--roast); color: var(--cream); }
.surface-copper { background-color: var(--copper); color: var(--espresso); }

.container { width: min(100% - 2.5rem, var(--max-width)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.875rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); font-weight: 500; }

.hairline { border: none; border-top: 1px solid var(--copper); opacity: 0.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter var(--transition), box-shadow var(--transition);
}

.btn:hover { filter: brightness(1.08); box-shadow: 0 4px 20px rgba(0,0,0,0.15); opacity: 1; }

.btn-primary { background-color: var(--copper); color: var(--espresso); }

.btn-secondary {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
}

.site-header.is-sticky {
  position: fixed;
  background-color: var(--espresso);
  box-shadow: 0 1px 0 rgba(184,115,51,0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo span { color: var(--copper); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a.is-active { color: var(--copper); }

/* Hero Rösthalle */
.hero-roesthalle {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-roesthalle .hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 1.5rem;
}

.hero-roesthalle .hero-top .since { color: var(--copper); }

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 3rem;
}

.hero-content { padding-bottom: 2rem; }

.hero-content h1 em { font-style: italic; color: var(--copper); }

.hero-sub {
  margin-top: 1.5rem;
  max-width: 32.5rem;
  opacity: 0.85;
  font-size: 1.125rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-photo-wrap {
  position: relative;
  align-self: end;
  margin-bottom: -2rem;
}

.hero-photo-wrap img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--copper);
}

.hero-trust {
  padding: 0.875rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  border-top: 1px solid rgba(184,115,51,0.4);
}

/* Sections */
.section { padding: var(--section-pad) 0; }

.section-header { margin-bottom: 3rem; max-width: 40rem; }

.section-header .eyebrow { color: var(--copper); margin-bottom: 1rem; display: block; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
}

.stat-label { font-size: 0.875rem; margin-top: 0.5rem; opacity: 0.8; }

.pillar-card {
  padding: 2rem 0;
  border-top: 1px solid var(--copper);
}

.pillar-card .num {
  font-family: var(--font-display);
  font-size: 4rem;
  opacity: 0.08;
  line-height: 1;
  margin-bottom: -1.5rem;
}

.menu-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.menu-card {
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(184,115,51,0.25);
}

.menu-card .card-num {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  opacity: 0.06;
  line-height: 1;
}

.photo-frame img { border: 1px solid rgba(184,115,51,0.35); }

.faq-mini details {
  border-top: 1px solid rgba(184,115,51,0.3);
  padding: 1.25rem 0;
}

.faq-mini summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-mini summary::-webkit-details-marker { display: none; }

.faq-mini p { margin-top: 0.75rem; opacity: 0.9; }

.cta-band {
  text-align: center;
  padding: var(--section-pad) 0;
}

.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 36rem; margin: 0 auto 2rem; opacity: 0.9; }

/* Page hero (inner pages) */
.page-hero { padding: 8rem 0 4rem; }
.page-hero h1 { margin-top: 1rem; }

/* Menu sections */
.menu-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(184,115,51,0.25);
}

.menu-section .section-num {
  font-family: var(--font-display);
  font-size: 5rem;
  opacity: 0.07;
  line-height: 1;
  margin-bottom: -2rem;
}

.menu-items { margin-top: 1.5rem; }
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px dotted rgba(74,53,36,0.2);
}

.menu-item span:last-child { white-space: nowrap; font-weight: 600; }

.disclaimer {
  font-size: 0.875rem;
  opacity: 0.85;
  padding: 1.5rem;
  border-left: 2px solid var(--copper);
  margin-top: 2rem;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.375rem; font-size: 0.9375rem; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--oat);
  background: #fff;
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group textarea { min-height: 8rem; resize: vertical; }

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.checkbox-group input { width: auto; margin-top: 0.25rem; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* FAQ full */
.faq-list details {
  border-bottom: 1px solid rgba(184,115,51,0.25);
  padding: 1.5rem 0;
}

.faq-list summary { font-weight: 600; cursor: pointer; font-size: 1.0625rem; }
.faq-list p, .faq-list ul { margin-top: 1rem; opacity: 0.92; }
.faq-list ul { padding-left: 1.25rem; }

/* Legal prose */
.legal-prose h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.legal-prose h3 { margin: 1.5rem 0 0.75rem; font-size: 1.125rem; }
.legal-prose p, .legal-prose ul { margin-bottom: 1rem; }
.legal-prose ul { padding-left: 1.5rem; }

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a { text-decoration: none; font-size: 0.875rem; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(184,115,51,0.3);
  font-size: 0.8125rem;
  opacity: 0.75;
}

.footer-disclaimer { margin-top: 1.5rem; font-size: 0.8125rem; opacity: 0.8; line-height: 1.6; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-text { flex: 1; min-width: 280px; font-size: 0.9375rem; }
.cookie-text a { color: var(--copper); }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cookie-actions button {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.cookie-actions .btn-accept-all { background: var(--copper); color: var(--espresso); border-color: var(--copper); }

/* Reveal animation */
.js .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page h1 { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-photo-wrap { margin-bottom: 0; order: -1; }
  .grid-2, .grid-3, .grid-4, .menu-preview-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1.5rem; background: var(--espresso); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 1rem; }
  .hero-roesthalle { min-height: 78vh; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}
