/* Café Sano: shared styles */
:root {
  --green: #4f7a52;
  --green-dark: #3a5c3d;
  --cream: #f8f3e7;
  --cream-dark: #efe6d3;
  --terracotta: #b4653f;
  --text: #2f3a2f;
  --text-light: #6b6558;
  --white: #fffdf9;
  --radius: 18px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 243, 231, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-dark);
}

.nav-wrap {
  max-width: 1120px;
  height: 72px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 120px;
  width: auto;
  flex-shrink: 0;
}

.brand .logo-icon {
  height: 60px;
  width: auto;
}

.brand .logo-text {
  height: 21px;
  width: auto;
}

.brand span {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--green-dark);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--green);
}

nav.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--green);
  color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 72px 0 60px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--terracotta);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--green-dark);
  margin: 0 0 18px;
  line-height: 1.15;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-light);
}

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

/* Section headings */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head .eyebrow {
  color: var(--terracotta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--green-dark);
  margin: 10px 0 12px;
}

.section-head p {
  color: var(--text-light);
}

.section.alt { background: var(--white); }

/* Grid cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--cream-dark);
  text-align: center;
}

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

.card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--green);
}

.card h3 {
  font-family: var(--serif);
  color: var(--green-dark);
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Menu highlight teaser */
.menu-teaser-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--cream-dark);
}

.menu-teaser-item .name {
  font-weight: 600;
  color: var(--green-dark);
}

.menu-teaser-item .desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

.menu-teaser-item .price {
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
}

/* Speisekarte page */
.menu-category {
  margin-bottom: 46px;
}

.menu-category h3 {
  font-family: var(--serif);
  color: var(--terracotta);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.menu-list {
  display: grid;
  gap: 4px;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.menu-row .info { flex: 1; }

.menu-row .info .title {
  font-weight: 600;
  color: var(--text);
}

.menu-row .info .sub {
  display: block;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 2px;
}

.menu-row .price {
  color: var(--terracotta);
  font-weight: 600;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  background: var(--cream-dark);
  color: var(--green-dark);
  vertical-align: middle;
}

.tag-vegan {
  background: #dcecd9;
  color: #2f6b3a;
}

.tag-cold {
  background: #dcedf7;
  color: #2b6a91;
}

.menu-note {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cream-dark);
  color: var(--green-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.menu-note .extras-title {
  display: block;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.extras-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.extras-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
}

.extras-list li .chip-price {
  font-weight: 700;
  color: var(--terracotta);
}

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

/* Info strip (hours/location) */
.info-strip {
  background: var(--green-dark);
  color: var(--white);
}

.info-strip .grid-3 { color: var(--white); }

.info-strip h3 { color: var(--white); }

.info-strip .card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.info-strip .card p { color: rgba(255,255,255,0.75); }
.info-strip .card .icon { color: var(--cream); }

/* Quote / About */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split .art {
  background: var(--cream-dark);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split .art img { height: 160px; }

.split h2 {
  font-family: var(--serif);
  color: var(--green-dark);
  font-size: 2rem;
  margin-top: 0;
}

.split p { color: var(--text-light); }

/* Values list */
.values-list { list-style: none; padding: 0; margin: 22px 0 0; }
.values-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.values-list .dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-top: 8px;
}
.values-list strong { color: var(--green-dark); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-card h3 {
  font-family: var(--serif);
  color: var(--green-dark);
  margin-top: 0;
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--cream-dark);
}

.contact-row:last-child { border-bottom: none; }

.contact-row .label {
  min-width: 120px;
  font-weight: 600;
  color: var(--green-dark);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  height: 100%;
  min-height: 380px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Footer */
footer.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid .brand span { color: var(--white); }
.footer-grid img { height: 150px; margin-bottom: 14px; }

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reservation CTA in header */
.reserve-btn {
  background: var(--terracotta);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.reserve-btn:hover { background: #9a5535; }

.header-actions { display: flex; align-items: center; gap: 22px; }

/* Photo hero */
.photo-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.photo-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,92,61,0.55), rgba(47,58,47,0.82));
}
.photo-hero .container { position: relative; z-index: 2; text-align: center; }
.photo-hero .eyebrow { background: rgba(255,255,255,0.15); color: var(--white); }
.photo-hero h1 { color: var(--white); }
.photo-hero p.lead { color: rgba(255,255,255,0.9); }

/* Video hero (autoplay background loop) */
.video-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.video-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,92,61,0.55), rgba(47,58,47,0.82));
  z-index: 1;
}
.video-hero .container { position: relative; z-index: 2; text-align: center; }
.video-hero .eyebrow { background: rgba(255,255,255,0.15); color: var(--white); }
.video-hero h1 { color: var(--white); font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 18px; line-height: 1.15; }
.video-hero p.lead { color: rgba(255,255,255,0.9); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* Info card (floating quick facts) */
.info-card-row {
  position: relative;
  z-index: 3;
  margin-top: -64px;
  margin-bottom: 20px;
}
.info-card-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(58,92,61,0.16);
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.info-card-panel .item .label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 6px;
}
.info-card-panel .item .value {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.info-card-panel .item .value a { color: var(--green-dark); }
.info-card-panel .item .value a:hover { color: var(--terracotta); }

/* Photo gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}
.gallery-grid a { overflow: hidden; border-radius: 14px; display: block; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .span-2 { grid-column: span 2; grid-row: span 2; }

/* Menu item with thumbnail */
.menu-row.with-thumb {
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-row.with-thumb .thumb {
  width: 56px; height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.menu-row.with-thumb .info { flex: 1; }

.menu-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  max-height: 220px;
}
.menu-banner img { width: 100%; height: 220px; object-fit: cover; }

/* Bakery mini gallery */
.bakery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.bakery-strip figure { margin: 0; text-align: center; }
.bakery-strip img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 14px; margin-bottom: 8px;
}
.bakery-strip figcaption { font-size: 0.82rem; color: var(--text-light); }

/* Rent-the-cafe section */
.rent-section {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.rent-section .rent-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.rent-section .rent-copy {
  padding: 44px 40px;
}
.rent-section h2 { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 14px; color: var(--white); }
.rent-section p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  padding: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* Placeholder banner (reservation) */
.placeholder-banner {
  border: 1.5px dashed var(--terracotta);
  background: rgba(180,101,63,0.06);
  border-radius: var(--radius);
  padding: 26px 30px;
  text-align: center;
}
.placeholder-banner strong { color: var(--terracotta); }

/* Legal pages (Impressum / Datenschutz) */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 {
  font-family: var(--serif);
  color: var(--green-dark);
  font-size: 1.3rem;
  margin: 38px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--text);
  margin: 0 0 14px;
}
.legal-content a { color: var(--green); font-weight: 600; text-decoration: underline; }
.legal-content ul { margin: 0 0 14px 20px; padding: 0; color: var(--text); }
.legal-content li { margin-bottom: 6px; }

.footer-legal { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2, .split, .contact-grid, .menu-columns, .footer-grid,
  .rent-section, .form-grid {
    grid-template-columns: 1fr;
  }
  nav.main-nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 24px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 14px;
    padding: 14px 22px;
    display: none;
    gap: 12px;
  }
  nav.main-nav.open ul { display: flex; }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--green-dark);
    cursor: pointer;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
  .info-card-panel { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .span-2 { grid-column: span 1; grid-row: span 1; }
  .bakery-strip { grid-template-columns: repeat(2, 1fr); }
  .rent-section .rent-img { min-height: 220px; }
  .form-grid .full-mobile-ok {}
}

@media (max-width: 600px) {
  .nav-wrap { padding: 6px 14px; gap: 8px; }
  .brand { gap: 6px; }
  .brand .logo-icon { height: 34px; }
  .brand .logo-text { height: 15px; }
  .header-actions { gap: 8px; }
  .reserve-btn { padding: 7px 12px; font-size: 0.72rem; }
  .menu-toggle { font-size: 1.3rem; }
}
