/*
Theme Name:   Cafe Bardeli
Description:  Custom WordPress theme for Cafe Bardeli — industrial-chic, warm, bilingual
Author:       Cafe Bardeli
Version:      1.0.0
*/

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  --clr-bg:        #E0DCCC; /* warm cream — main background */
  --clr-dark:      #1D2919; /* deep green — header, footer */
  --clr-text:      #1B1B1B; /* near black — body text */
  --clr-accent:      #A0361B; /* rufous — accent on light/cream bg */
  --clr-rust:        #C4501B; /* sinopia — hover state on light bg */
  --clr-accent-dark: #E9972D; /* carrot — accent on dark bg */
  --clr-white:     #FFFFFF;
  --clr-bg-muted:  #D4CEB8; /* slightly darker cream */

  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Cardo', serif;

  --header-h:      70px;
  --max-w:         1100px;
  --section-gap:   80px;
  --radius:        4px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

/* Front page hero is full-height — remove body padding so hero starts at top */
body.home {
  padding-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--clr-text);
}

p {
  margin-bottom: 16px;
}

/* ============================================================
   Layout Utility
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background-color: var(--clr-dark);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clr-bg);
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--clr-accent-dark);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav ul {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-bg);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--clr-accent-dark);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(224, 220, 204, 0.2);
  list-style: none;
}

.lang-switcher a {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-bg);
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  opacity: 1;
  color: var(--clr-accent-dark);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--clr-bg);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background-color: var(--clr-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.open {
    max-height: 400px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 16px 0 8px;
  }

  .site-nav a {
    display: block;
    padding: 14px 24px;
    text-align: center;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    justify-content: center;
    padding: 8px 0 20px;
  }

  /* Hamburger → X */
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* WP admin bar offset */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: var(--radius);
}

.btn-primary {
  background-color: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}

.btn-primary:hover {
  background-color: var(--clr-rust);
  border-color: var(--clr-rust);
  color: var(--clr-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}

.btn-outline:hover {
  background-color: var(--clr-white);
  color: var(--clr-dark);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--clr-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/CafeBardeli-094.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--clr-white);
  padding: 0 24px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(36px, 7vw, 72px);
  color: var(--clr-white);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(224, 220, 204, 0.85);
  margin-bottom: 40px;
  max-width: 640px;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero-content p {
    white-space: normal;
    max-width: 480px;
  }
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(224, 220, 204, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-indicator::after {
  content: '';
  width: 3px;
  height: 6px;
  background-color: rgba(224, 220, 204, 0.7);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: var(--clr-dark);
  color: var(--clr-bg);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 16px;
}

.footer-col p,
.footer-col address {
  font-size: 14px;
  line-height: 2;
  color: rgba(224, 220, 204, 0.65);
  font-style: normal;
}

.footer-col a {
  color: rgba(224, 220, 204, 0.65);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--clr-accent-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(224, 220, 204, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(224, 220, 204, 0.35);
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================================
   Menu Pages (Brunch & Mittagskarte)
   ============================================================ */
.menu-page-header {
  background-color: var(--clr-dark);
  color: var(--clr-bg);
  padding: 80px 0 48px;
  text-align: center;
}

.menu-page-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 16px;
}

.menu-page-header h1 {
  font-size: clamp(32px, 6vw, 56px);
  color: var(--clr-bg);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.menu-page-sub {
  font-size: 13px;
  color: rgba(224, 220, 204, 0.55);
  font-family: var(--font-heading);
  letter-spacing: 1px;
  margin-bottom: 32px;
}

@media (max-width: 600px) {
  .menu-page-sub .sub-sep { display: none; }
  .menu-page-sub .sub-part { display: block; }
}

.menu-switch {
  display: inline-flex;
  gap: 0;
  border: 1px solid rgba(224, 220, 204, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.menu-switch-item {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 28px;
  color: rgba(224, 220, 204, 0.5);
  transition: background 0.2s, color 0.2s;
  display: block;
  position: relative;
}

.menu-switch-item.active {
  background-color: var(--clr-accent-dark);
  color: var(--clr-white);
}

.menu-switch-item:not(.active):hover {
  color: rgba(224, 220, 204, 0.9);
  background-color: rgba(224, 220, 204, 0.05);
}

/* ── Inactive tab: animated draw border ──────────────────────────────── */
a.menu-switch-item {
  color: rgba(233, 151, 45, 0.75);
}

a.menu-switch-item::after {
  content: '';
  position: absolute;
  inset: 0;
  /* 4 strips — one per border side — grow sequentially clockwise */
  background-image:
    linear-gradient(90deg,  #E9972D, #F5BD5A),
    linear-gradient(180deg, #F5BD5A, #E9972D),
    linear-gradient(270deg, #E9972D, #F5BD5A),
    linear-gradient(0deg,   #F5BD5A, #E9972D);
  background-size:     0 2px,     2px 0,      0 2px,      2px 0;
  background-position: left top,  right top,  right bottom, left bottom;
  background-repeat:   no-repeat;
  animation: menu-border-draw 3s linear infinite;
  pointer-events: none;
}

a.menu-switch-item:hover::after {
  animation-play-state: paused;
}

@keyframes menu-border-draw {
  0%       { background-size: 0 2px,    2px 0,    0 2px,    2px 0; }
  25%      { background-size: 100% 2px, 2px 0,    0 2px,    2px 0; }
  50%      { background-size: 100% 2px, 2px 100%, 0 2px,    2px 0; }
  75%      { background-size: 100% 2px, 2px 100%, 100% 2px, 2px 0; }
  88%, 95% { background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%; }
  100%     { background-size: 0 2px,    2px 0,    0 2px,    2px 0; }
}

.menu-body {
  padding-top: 64px;
  padding-bottom: 80px;
  max-width: 760px;
}

.menu-section {
  margin-bottom: 56px;
}

.menu-section-title {
  font-size: 17px;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-bg-muted);
}

.menu-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--clr-bg-muted);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-header {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0;
  margin-bottom: 8px;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  color: rgba(27, 27, 27, 0.5);
  white-space: nowrap;
}

.menu-item-price::before {
  content: " | ";
  font-weight: 400;
  opacity: 0.3;
  margin: 0 6px;
}

.menu-item-price-note {
  font-weight: 400;
  font-size: 12px;
  color: rgba(27, 27, 27, 0.5);
}

.menu-item-badge {
  display: inline-block;
  font-size: 9px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 6px;
  border: 1px solid var(--clr-accent);
  color: var(--clr-accent);
  border-radius: 2px;
  vertical-align: middle;
}

.menu-item-desc {
  font-size: 14px;
  color: rgba(27, 27, 27, 0.7);
  line-height: 1.6;
  margin-bottom: 6px;
}

.menu-item-allergens {
  font-size: 11px;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: rgba(27, 27, 27, 0.4);
  margin-bottom: 0;
}

.menu-item-extras {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item-extras li {
  font-size: 13px;
  color: rgba(27, 27, 27, 0.65);
}

.menu-item-extras li span {
  opacity: 0.7;
}

.menu-specials-note {
  background-color: var(--clr-dark);
  color: var(--clr-bg);
  padding: 32px 40px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.menu-specials-note p {
  font-size: 15px;
  margin-bottom: 0;
  color: rgba(224, 220, 204, 0.8);
}

.menu-specials-note strong {
  color: var(--clr-accent-dark);
}

.btn-outline-dark {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid rgba(224, 220, 204, 0.35);
  color: var(--clr-bg);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-dark:hover {
  background-color: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
}

.menu-vegan-note {
  font-size: 12px;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: rgba(27, 27, 27, 0.45);
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .menu-item-header {
    flex-wrap: wrap;
    gap: 4px;
  }

  .menu-specials-note {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   Contact & Reservation Page
   ============================================================ */
.contact-body {
  padding-top: 64px;
  padding-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

#resmio-cafe-bardeli {
  display: inline-block;
  box-shadow: 0 4px 24px rgba(29, 41, 25, 0.18);
  border-radius: 4px;
  overflow: hidden;
}

.contact-section-title {
  font-size: 11px;
  font-family: var(--font-heading);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-bg-muted);
}

.event-notice {
  font-size: 15px;
  color: var(--clr-accent);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}
.contact-reservation .event-notice {
  max-width: 330px;
}

.resmio-notice {
  font-size: 15px;
  color: var(--clr-accent);
  max-width: 330px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.resmio-notice a {
  color: var(--clr-accent);
  text-decoration: underline;
}

.contact-detail {
  margin-bottom: 32px;
}

.contact-detail-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.4);
  margin-bottom: 6px;
}

.contact-map-full {
  width: 100%;
  overflow: hidden;
}

.contact-detail address,
.contact-detail p,
.contact-detail a {
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
  color: var(--clr-text);
  margin-bottom: 0;
}

.contact-detail a:hover {
  color: var(--clr-accent);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  #resmio-cafe-bardeli {
    display: block;
    width: 100%;
  }

  #resmio-cafe-bardeli iframe {
    width: 100% !important;
    height: 860px !important;
    touch-action: pan-y;
  }
}

/* ============================================================
   About Page
   ============================================================ */
.about-body {
  padding-top: 64px;
  padding-bottom: 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--clr-text);
  margin-bottom: 28px;
}

.about-welcome {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--clr-accent) !important;
  margin-top: 40px;
}

.about-details {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.about-details .btn {
  margin-top: 8px;
  width: 100%;
  text-align: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-details {
    position: static;
  }
}

.about-people {
  background: var(--clr-dark);
  padding: 80px 0;
}

.about-people .section-label {
  color: var(--clr-accent-dark);
}

.about-people h2 {
  color: var(--clr-cream);
  margin-bottom: 48px;
}

.about-people-text {
  max-width: 760px;
}

.about-people-text p {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(224, 220, 204, 0.82);
  margin-bottom: 28px;
}

.about-people-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Legal Pages (Impressum, Datenschutz)
   ============================================================ */
.legal-body {
  padding-top: 64px;
  padding-bottom: 80px;
}

.legal-content {
  max-width: 760px;
}

.legal-block {
  margin-bottom: 48px;
}

.legal-block h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--clr-text);
}

.legal-block h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--clr-text);
}

.legal-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-text);
  margin-bottom: 12px;
}

.legal-block a {
  color: var(--clr-accent);
  text-decoration: underline;
}

/* ============================================================
   Home — Shared
   ============================================================ */
.section-label {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 16px;
}

/* ============================================================
   Home — Highlights
   ============================================================ */
.highlights {
  background-color: var(--clr-dark);
  padding: 72px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.highlight-card {
  text-align: center;
}

.highlight-icon {
  display: block;
  font-size: 18px;
  color: var(--clr-accent-dark);
  margin-bottom: 20px;
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-bg);
  margin-bottom: 14px;
}

.highlight-card p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(224, 220, 204, 0.6);
}

@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================================
   Home — About Teaser
   ============================================================ */
.about-teaser {
  padding: 96px 0;
  background-color: var(--clr-bg);
}

.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-teaser-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 28px;
}

.about-teaser-text p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(27, 27, 27, 0.7);
  margin-bottom: 20px;
}

.about-teaser-text .btn {
  margin-top: 12px;
}

.about-teaser-img-wrap {
  aspect-ratio: 1 / 1;
  background-color: var(--clr-dark);
  background-image: url('images/CafeBardeli-094.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .about-teaser-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-teaser-image {
    order: -1;
  }

  .about-teaser-img-wrap {
    aspect-ratio: 16 / 9;
    background-position: center 70%;
  }
}

/* ============================================================
   Home — Feedback
   ============================================================ */
.feedback-section {
  padding: 80px 0;
  background-color: var(--clr-bg);
  border-top: 1px solid var(--clr-bg-muted);
}

.feedback-section h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 48px;
}

/* ── Resmio Feedback Widget — Brand Override ──────────────────────────────── */

/* Outer wrapper — strip Resmio grey box */
.rsmpp-feedbackWidgetWrapper {
  background-color: #E0DCCC !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 760px !important;
}

/* Hide built-in header — we have our own "Was unsere Gäste sagen" h2 */
.rsmpp-headerWrapper {
  display: none !important;
}

/* Review list — scrollable, ~5 reviews visible, cream bg */
.rsmpp-feedbackWrapper {
  background-color: #E0DCCC !important;
  max-height: 560px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  scrollbar-width: thin !important;
  scrollbar-color: #D4CEB8 #E0DCCC !important;
}

.rsmpp-feedbackWrapper::-webkit-scrollbar {
  width: 5px;
}

.rsmpp-feedbackWrapper::-webkit-scrollbar-track {
  background: #E0DCCC;
}

.rsmpp-feedbackWrapper::-webkit-scrollbar-thumb {
  background-color: #D4CEB8;
  border-radius: 4px;
}

/* Hide <br> spacers between cards */
.rsmpp-feedbackWrapper br {
  display: none !important;
}

/* Individual review — cream bg, thin separator */
.rsmpp-feedbackContainer {
  background-color: #E0DCCC !important;
  border-bottom: 1px solid #D4CEB8 !important;
  padding: 20px 0 !important;
}

.rsmpp-feedbackContainer:last-child {
  border-bottom: none !important;
}

/* Date */
.rsmpp-feedbackText {
  font-family: var(--font-heading) !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  color: rgba(27, 27, 27, 0.35) !important;
}

/* Review text */
.rsmpp-feedbackComment p {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #1B1B1B !important;
  margin-top: 8px !important;
}

/* Stars — carrot colour */
.rsmpp-stars,
.rsmpp-stars::before,
.rsmpp-stars::after {
  color: #E9972D !important;
  -webkit-text-fill-color: #E9972D !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* Hide Resmio footer branding */
.rsmpp-footerWrapper {
  display: none !important;
}

/* ============================================================
   Home — Menu Teaser
   ============================================================ */
.menu-teaser {
  padding-bottom: 96px;
  background-color: var(--clr-bg);
}

.menu-teaser .container {
  margin-bottom: 48px;
}

.menu-teaser h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-text);
}

.menu-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.menu-teaser-card {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--clr-dark);
}

.menu-teaser-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.menu-teaser-card--brunch::before {
  background-image: url('images/Cafe%20Bardeli-108.jpg');
}

.menu-teaser-card--lunch::before {
  background-image: url('images/Cafe%20Bardeli-114.jpg');
}

.menu-teaser-card:hover::before {
  opacity: 0.6;
  transform: scale(1.04);
}

/* ── WebP image overrides (with JPEG fallback for old browsers) ─────────────── */
@supports (background-image: url('x.webp')) {
  .hero-bg {
    background-image: url('images/CafeBardeli-094.webp');
  }
  .about-teaser-img-wrap {
    background-image: url('images/CafeBardeli-094.webp');
  }
  .menu-teaser-card--brunch::before {
    background-image: url('images/Cafe%20Bardeli-108.webp');
  }
  .menu-teaser-card--lunch::before {
    background-image: url('images/Cafe%20Bardeli-114.webp');
  }
}

.menu-teaser-card-inner {
  position: relative;
  z-index: 2;
  padding: 56px 48px;
  color: var(--clr-bg);
}

.menu-teaser-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 12px;
}

.menu-teaser-card h3 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clr-bg);
  margin-bottom: 12px;
}

.menu-teaser-sub {
  font-size: 14px;
  color: rgba(224, 220, 204, 0.65);
  margin-bottom: 32px;
  line-height: 1.6;
}

.menu-teaser-link {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-bg);
  border-bottom: 1px solid rgba(224, 220, 204, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.menu-teaser-card:hover .menu-teaser-link {
  color: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
}

@media (max-width: 768px) {
  .menu-teaser-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .menu-teaser-card-inner {
    padding: 48px 24px;
  }
}

/* ============================================================
   Contact Form — floating-label style
   ============================================================ */
.contact-form-wrap {
  background: var(--clr-dark);
  padding: 80px 0;
}

.cf-title {
  color: var(--clr-accent-dark) !important;
  border-bottom-color: rgba(224, 220, 204, 0.15) !important;
  margin-bottom: 48px;
}

.contact-form {
  max-width: 640px;
}

/* Two-column row (Name + Email side by side) */
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

/* Field wrapper */
.cf-field {
  position: relative;
  margin-bottom: 40px;
}

/* Inputs & textarea */
.cf-field input,
.cf-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(224, 220, 204, 0.2);
  padding: 20px 0 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--clr-bg);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  -webkit-appearance: none;
}

.cf-field input:focus,
.cf-field textarea:focus {
  border-bottom-color: transparent;
}

/* Animated underline on focus */
.cf-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-accent);
  transition: width 0.35s ease;
}

.cf-field:focus-within::after {
  width: 100%;
}

/* Floating label */
.cf-field label {
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(224, 220, 204, 0.4);
  pointer-events: none;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}

/* Float up when focused or filled */
.cf-field input:focus + label,
.cf-field input:not(:placeholder-shown) + label,
.cf-field textarea:focus + label,
.cf-field textarea:not(:placeholder-shown) + label {
  top: 2px;
  font-size: 9px;
  color: var(--clr-accent);
}

/* Textarea height */
.cf-field--textarea textarea {
  min-height: 130px;
  padding-top: 26px;
  line-height: 1.6;
}

/* Notices (success / error) */
.cf-notice {
  max-width: 640px;
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.cf-notice--success {
  background: rgba(233, 151, 45, 0.15);
  border-left: 3px solid var(--clr-accent-dark);
  color: var(--clr-bg);
}

.cf-notice--error {
  background: rgba(160, 54, 27, 0.2);
  border-left: 3px solid var(--clr-rust);
  color: var(--clr-bg);
}

.cf-notice a {
  color: var(--clr-accent-dark);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
  .cf-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 64px 0;
  }
}
}

/* ── 404 Page ─────────────────────────────────────────────────────────────── */
.error-404-body {
  padding: 80px 0 100px;
  text-align: center;
}

.error-404-lead {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 48px;
  color: var(--clr-text);
  line-height: 1.7;
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
