/* Farben angelehnt an das Aioli-Logo (Aubergine & Beige) und die Tapas-Schalen (Terrakotta) */
:root {
  --primary: #542744;
  --primary-dark: #3c1b31;
  --beige: #e2cfb6;
  --cream: #faf6f0;
  --sand: #f3ebe0;
  --ink: #2a2024;
  --muted: #6e6168;
  --terracotta: #b85a33;
  --line: #e6dccf;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 32, 36, .08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; margin-top: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--terracotta); margin-bottom: .6em; }
.eyebrow.light { color: var(--beige); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--primary); color: var(--white); text-decoration: none;
  border: 2px solid var(--primary); border-radius: 999px;
  padding: .8em 1.6em; font: 600 1rem var(--font-body); cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-light { background: var(--beige); border-color: var(--beige); color: var(--primary-dark); }
.btn-light:hover { background: var(--white); border-color: var(--white); }
.btn-outline-light { background: transparent; border-color: var(--beige); color: var(--beige); }
.btn-outline-light:hover { background: var(--beige); color: var(--primary-dark); border-color: var(--beige); }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: block; text-decoration: none; color: var(--primary); }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--terracotta); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 14, 24, .15) 0%, rgba(30, 14, 24, .55) 45%, rgba(30, 14, 24, .88) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 120px 0 64px; max-width: 760px; margin-left: max(16px, (100% - 1160px) / 2); }
.hero h1 { color: var(--white); }
.lead { font-size: 1.2rem; max-width: 34em; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.today-status { font-size: .95rem; display: flex; align-items: center; gap: .5em; opacity: .9; margin: 0; }
.today-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #aaa; }
.today-status .dot.open { background: #5fd068; box-shadow: 0 0 0 4px rgba(95, 208, 104, .25); }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--primary-dark); color: #efe5ec; }
.section-dark h2 { color: var(--white); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }

/* Mittagstisch */
.day-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.day-tab {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: 999px; padding: .55em 1.2em; font: 500 .95rem var(--font-body); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; line-height: 1.25; min-width: 86px;
}
.day-tab small { color: var(--muted); font-size: .75rem; }
.day-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--white); }
.day-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.day-tab.is-today:not([aria-selected="true"]) { border-color: var(--terracotta); }
.lunch-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.dish { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.dish h3 { font-size: 1.2rem; margin-bottom: .3em; }
.dish p { color: var(--muted); font-size: .96rem; flex: 1; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 600; color: var(--primary); font-size: 1.1rem; white-space: nowrap; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .2em .6em; border-radius: 6px; background: #eef1e2; color: #4a5a22; margin-right: 4px; }
.tag.scharf { background: #f8e1d8; color: #9a3e1d; }
.lunch-empty { grid-column: 1 / -1; text-align: center; padding: 40px; background: var(--white); border-radius: var(--radius); color: var(--muted); }
.lunch-note { text-align: center; margin-top: 24px; color: var(--muted); font-style: italic; }

/* Karten-Teaser */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; color: var(--white); text-decoration: none; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card span { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(30, 14, 24, .9)); font-size: .9rem; color: var(--beige); }
.cat-card strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--white); font-weight: 600; }

/* Reservierung */
.reserve-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.reserve-img { border-radius: var(--radius); margin-top: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.reserve-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 500; font-size: .94rem; }
label > input, label > select, label > textarea { display: block; margin-top: 6px; }
input, select, textarea {
  font: 400 1rem var(--font-body); color: var(--ink);
  padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(84, 39, 68, .15); }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 500; font-size: .94rem; margin-bottom: 8px; }
.day-note { background: var(--sand); border-left: 4px solid var(--terracotta); padding: .8em 1em; border-radius: 8px; font-size: .9rem; margin: 0; }
.time-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.time-slots .group-label { width: 100%; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.slot { border: 1.5px solid var(--line); background: var(--cream); border-radius: 8px; padding: .5em .9em; font: 500 .95rem var(--font-body); cursor: pointer; color: var(--ink); }
.slot:hover:not(:disabled) { border-color: var(--primary); }
.slot[aria-pressed="true"] { background: var(--primary); color: var(--white); border-color: var(--primary); }
.slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.check input { width: auto; margin: 4px 0 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; }
.form-error { background: #fbe9e3; color: #8a2f12; padding: .8em 1em; border-radius: 10px; margin: 0; font-size: .94rem; }
.success { text-align: center; padding: 48px 28px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 16px; }

/* Bild + Text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.info-box { background: var(--white); border-radius: var(--radius); padding: 20px 22px; margin: 22px 0 4px; border-left: 4px solid var(--primary); }
.info-box h3 { font-size: 1.1rem; margin-bottom: .3em; }
.info-box p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); }
.hours .is-today { color: var(--terracotta); font-weight: 600; }
.social { display: flex; gap: 16px; }

/* Footer */
.site-footer { background: var(--primary-dark); color: #d9c9d3; padding: 32px 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner img { height: 44px; width: auto; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: #d9c9d3; }

.mobile-cta { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .reserve-wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse > img { order: -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reserve-img { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .nav-toggle { display: block; }
  .logo img { height: 42px; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 16px; gap: 4px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 8px; }
  .hero { min-height: 82vh; }
  .hero-inner { padding: 100px 0 40px; }
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .cat-grid { gap: 10px; }
  .cat-card strong { font-size: 1.1rem; }
  .cat-card span { padding: 40px 12px 12px; font-size: .8rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .mobile-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    background: var(--primary); color: var(--white); text-align: center; text-decoration: none;
    padding: 14px; border-radius: 999px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: transform .25s, opacity .25s;
  }
  body:has(.hero) .mobile-cta:not(.show) { transform: translateY(120%); opacity: 0; pointer-events: none; }
}
