/* ===== CAFÉSTUBE AM OSTWALL – Shared Stylesheet ===== */

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

:root {
  --cream:   #faf6f0;
  --warm:    #f4ece0;
  --brown:   #5c3d2e;
  --brown-l: #8b6553;
  --gold:    #c49a3c;
  --gold-l:  #e2b96a;
  --text:    #2e2118;
  --text-m:  #6b5044;
  --white:   #ffffff;
  --shadow:  0 4px 24px rgba(92,61,46,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* ── HEADER / NAV ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--cream);
  box-shadow: 0 2px 16px rgba(92,61,46,.10);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-img-wrap { display: flex; align-items: center; }
.logo-img { height: 64px; width: auto; display: block; max-width: 260px; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
nav a:hover { color: var(--gold); background: rgba(196,154,60,.08); }
nav a.active { color: var(--gold); }
nav a.nav-cta {
  background: var(--brown);
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 24px;
}
nav a.nav-cta:hover { background: var(--gold); color: var(--white); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: .3s; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--warm);
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brown); text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid var(--warm);
}
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .burger { display: flex; }
}

/* ── HEROES ── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-l);
  border: 1px solid rgba(226,185,106,.5);
  border-radius: 24px;
  padding: 6px 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hours-box {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(196,154,60,.4);
  border-radius: 12px;
  padding: 20px 36px;
}
.hours-box .day { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 4px; }
.hours-box .time { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,.9); }

/* Page heroes (subpages) */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)), #3c2415 center/cover no-repeat;
}
.page-hero .hero-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-l); border: 1px solid rgba(226,185,106,.5);
  border-radius: 24px; padding: 6px 20px; margin-bottom: 20px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-l); }
.page-hero p { color: rgba(255,255,255,.85); font-weight: 300; max-width: 560px; margin: 0 auto; }

/* ── SECTIONS ── */
section { padding: 80px 24px; }
section.bg-warm { background: var(--warm); }
section.bg-brown { background: var(--brown); color: var(--cream); }

.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 40px;
}
.section-title.light { color: var(--cream); }

/* ── CARDS ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(92,61,46,.18); }

.card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--warm);
}
.card-body { padding: 24px; }
.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--brown); margin-bottom: 8px;
}
.card-body p { font-size: .93rem; color: var(--text-m); font-weight: 300; }

/* ── INFO BOX ── */
.info-box {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 32px; border-radius: 32px;
  transition: background .2s, color .2s, box-shadow .2s;
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--brown); border-color: var(--brown); }

/* ── TWO-COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ── CONTACT ── */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: .97rem; color: var(--text-m); font-weight: 300; text-decoration: none; }
.contact-item a:hover { color: var(--gold); }

.hours-table { border-collapse: collapse; font-size: .95rem; font-weight: 300; color: var(--text-m); }
.hours-table td { padding: 3px 16px 3px 0; }
.hours-table td:first-child { font-weight: 700; color: var(--brown); white-space: nowrap; }

/* ── PROSE ── */
.prose h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--brown); margin: 32px 0 12px; }
.prose h3 { font-size: 1.05rem; font-weight: 700; color: var(--brown-l); margin: 20px 0 8px; }
.prose p { font-size: .97rem; color: var(--text-m); font-weight: 300; margin-bottom: 12px; }
.prose a { color: var(--gold); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 64px 24px 0;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; } }

.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--cream); margin-bottom: 8px; }
.footer-logo span { display: block; font-size: .8rem; font-weight: 300; color: var(--gold-l); margin-top: 2px; font-family: 'Lato', sans-serif; }

.footer-col h4 { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .93rem; font-weight: 300; transition: color .2s; }
.footer-col a:hover { color: var(--gold-l); }
.footer-col p { font-size: .93rem; font-weight: 300; margin-bottom: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: var(--gold-l); }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--brown); color: var(--cream);
  border: none; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.back-top.visible { opacity: 1; pointer-events: all; }

/* ── MENU GRID ── */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.menu-item {
  background: var(--white); border-radius: 12px; padding: 24px;
  box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.menu-item h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--brown); }
.menu-item p { font-size: .85rem; color: var(--text-m); font-weight: 300; margin-top: 4px; }
.menu-price { font-size: 1.1rem; font-weight: 700; color: var(--gold); white-space: nowrap; }

/* ── GALLERY ── */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* ── VOUCHER ── */
.voucher-card {
  background: linear-gradient(135deg, var(--brown) 0%, #3c2415 100%);
  border-radius: 20px;
  padding: 48px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  max-width: 560px;
}
.voucher-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(196,154,60,.2);
}
.voucher-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--gold-l);
  margin: 12px 0;
}
