/*
Theme Name: Bistro Cafe Fueuerio
Theme URI: https://example.com/bistro-luma
Author: Codex
Description: Eine warme, aufgeräumte WordPress-Startseite für das Bistro Café Füürio in Hindelbank.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bistro-luma
*/

:root {
  --ink: #211c18;
  --muted: #6d6258;
  --paper: #fffaf2;
  --cream: #f6ead7;
  --sage: #687766;
  --forest: #25392f;
  --tomato: #b84b3e;
  --gold: #c99b56;
  --line: rgba(33, 28, 24, 0.14);
  --shadow: 0 22px 50px rgba(33, 28, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 250, 242, 0.2);
  background: rgba(33, 28, 24, 0.84);
  color: #fffaf2;
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1;
}

.brand-kicker {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
}

.main-nav .menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: rgba(255, 250, 242, 0.86);
  text-decoration: none;
}

.main-nav a:hover {
  color: #fff;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--tomato);
  color: #fffaf2;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 250, 242, 0.42);
  background: rgba(255, 250, 242, 0.08);
}

.button.dark {
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: #fffaf2;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(33, 28, 24, 0.82), rgba(33, 28, 24, 0.46) 43%, rgba(33, 28, 24, 0.2)),
    linear-gradient(0deg, rgba(33, 28, 24, 0.74), rgba(33, 28, 24, 0.1) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 78px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 30px;
  color: rgba(255, 250, 242, 0.84);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 86px 0;
}

.archive-page {
  min-height: 70vh;
  padding-top: 108px;
}

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

.section.dark {
  background: var(--forest);
  color: #fffaf2;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.dark .section-heading p {
  color: rgba(255, 250, 242, 0.72);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.story-panel {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.story-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.story-panel p {
  margin: 0;
  color: var(--muted);
}

.breakfast {
  background: #fbf4e8;
}

.breakfast-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.breakfast-layout h2 {
  max-width: 560px;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

.breakfast-layout p {
  max-width: 520px;
  color: var(--muted);
}

.breakfast-hours {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  max-width: 430px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.breakfast-hours span {
  color: var(--muted);
}

.breakfast-hours strong {
  color: var(--forest);
}

.breakfast-list {
  border-top: 1px solid var(--line);
}

.breakfast-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.breakfast-item h3 {
  font-size: 1.44rem;
}

.breakfast-item p {
  margin: 10px 0 0;
}

.breakfast-item > span {
  color: var(--tomato);
  font-weight: 900;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dish-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fffaf2;
  box-shadow: 0 12px 28px rgba(33, 28, 24, 0.08);
}

.dish-card h3 {
  font-size: 1.48rem;
}

.dish-card p {
  margin: 14px 0 24px;
  color: var(--muted);
}

.dish-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--forest);
  font-weight: 800;
}

.tag {
  border: 1px solid rgba(104, 119, 102, 0.3);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feed-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.feed-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 14px 32px rgba(33, 28, 24, 0.08);
}

.feed-card:first-child,
.feed-card.featured {
  background: var(--forest);
  color: #fffaf2;
}

.feed-link {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-decoration: none;
}

.feed-link time {
  color: var(--tomato);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feed-card:first-child .feed-link time,
.feed-card.featured .feed-link time {
  color: var(--gold);
}

.feed-link h3 {
  margin: 22px 0 14px;
  font-size: 1.56rem;
}

.feed-link p {
  margin: 0;
  color: var(--muted);
}

.feed-card:first-child .feed-link p,
.feed-card.featured .feed-link p {
  color: rgba(255, 250, 242, 0.74);
}

.feed-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.visit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.hours {
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 250, 242, 0.08);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  padding: 14px 0;
}

.hours-row:first-child {
  padding-top: 0;
}

.hours-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.booking-panel h2 {
  max-width: 660px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.booking-panel p {
  max-width: 570px;
  color: rgba(255, 250, 242, 0.74);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    min-height: 760px;
  }

  .section-heading,
  .story-grid,
  .breakfast-layout,
  .menu-grid,
  .feed-grid,
  .visit {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .main-nav .button {
    width: 100%;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .dish-card {
    min-height: auto;
  }

  .breakfast-hours,
  .breakfast-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
