/* Restaurant Athen Greppin — Stylesheet (Einstein Marketing / Jarvis-Werkstatt) */
:root {
  --creme: #f7efdd;
  --creme-dunkel: #efe3c8;
  --rot: #9e2b2b;
  --rot-dunkel: #7c1f1f;
  --gold: #c9a05a;
  --gold-hell: #e2c690;
  --text: #3a2e24;
  --weiss: #fffdf8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--creme);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }

/* Mäander-Bordüre als wiederkehrendes Schmuckelement */
.maeander {
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'><path d='M2 12 V2 H12 V8 H8 V6 H10 V4 H4 V12 Z M16 2 V12 H26 V6 H22 V8 H24 V10 H18 V2 Z' fill='%23c9a05a'/></svg>") repeat-x center;
}

/* ── Kopf ── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 239, 221, .97);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 12px rgba(58, 46, 36, .12);
}
.nav {
  max-width: 1100px; margin: 0 auto; padding: 10px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.nav .logo img { height: 54px; width: auto; }
.nav nav { margin-left: auto; display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a {
  color: var(--rot); text-decoration: none; font-weight: bold;
  font-size: 1.02rem; letter-spacing: .3px; padding: 6px 2px;
}
.nav a:hover { color: var(--rot-dunkel); text-decoration: underline; }
.nav .social { display: flex; gap: 10px; margin-left: 6px; }
.nav .social a { display: inline-flex; }
.nav .social svg { width: 26px; height: 26px; fill: var(--rot); }
.nav .social a:hover svg { fill: var(--rot-dunkel); }

/* ── Hero / Willkommen ── */
.hero {
  position: relative; min-height: 66vh; display: flex; align-items: center; justify-content: center;
  background: url('fotos/foto-01.jpg') center / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(30, 18, 10, .45); }
.hero-inner { position: relative; text-align: center; padding: 60px 20px; color: var(--weiss); }
.hero-inner img { height: 110px; width: auto; margin: 0 auto 18px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.55)); }
.hero-inner h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem); letter-spacing: 1px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .6);
}
.hero-inner p { font-size: clamp(1rem, 2.4vw, 1.3rem); margin-top: 10px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.hero-inner .btn { margin-top: 26px; }

.btn {
  display: inline-block; background: var(--rot); color: var(--weiss);
  padding: 12px 28px; border-radius: 6px; text-decoration: none;
  font-weight: bold; letter-spacing: .5px; border: 2px solid var(--gold);
  transition: background .2s;
}
.btn:hover { background: var(--rot-dunkel); }
.btn.hell { background: transparent; color: var(--rot); }
.btn.hell:hover { background: var(--creme-dunkel); }

/* ── Abschnitte ── */
section { padding: 56px 18px; }
.inner { max-width: 1100px; margin: 0 auto; }
h2 {
  color: var(--rot); text-align: center; font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: 1px; margin-bottom: 8px;
}
.unterzeile { text-align: center; color: var(--gold); font-style: italic; margin-bottom: 34px; }

.willkommen p { max-width: 760px; margin: 0 auto 16px; font-size: 1.08rem; text-align: center; }

/* ── Galerie ── */
.galerie { background: var(--creme-dunkel); }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.grid a { display: block; overflow: hidden; border-radius: 6px; border: 3px solid var(--weiss); box-shadow: 0 3px 10px rgba(58,46,36,.18); }
.grid img { width: 100%; height: 210px; object-fit: cover; transition: transform .3s; }
.grid a:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(20, 12, 6, .92); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.offen { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border: 4px solid var(--gold); border-radius: 4px; }
.lightbox .schliessen {
  position: absolute; top: 16px; right: 22px; color: var(--weiss);
  font-size: 2.2rem; cursor: pointer; line-height: 1; font-family: Arial, sans-serif;
}
.lightbox .pfeil {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--weiss); font-size: 3rem; cursor: pointer; user-select: none;
  padding: 10px 16px; font-family: Arial, sans-serif;
}
.lightbox .pfeil.links { left: 6px; } .lightbox .pfeil.rechts { right: 6px; }

/* ── Öffnungszeiten / Kontakt ── */
.infos { }
.info-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.karte {
  background: var(--weiss); border: 2px solid var(--gold); border-radius: 8px;
  padding: 26px 22px; text-align: center; box-shadow: 0 3px 12px rgba(58,46,36,.12);
}
.karte h3 { color: var(--rot); margin-bottom: 12px; letter-spacing: .5px; }
.karte p { margin-bottom: 6px; }
.karte a { color: var(--rot); font-weight: bold; }
.hinweis-klein { font-size: .85rem; color: #7a6a58; margin-top: 10px; }

/* ── Karte (Anfahrt, Zwei-Klick) ── */
.map-consent {
  position: relative; border: 2px solid var(--gold); border-radius: 8px; overflow: hidden;
  background: var(--creme-dunkel); min-height: 360px;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.map-consent .consent-text { max-width: 460px; padding: 30px 20px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Fuß ── */
footer { background: var(--rot-dunkel); color: var(--creme); padding: 34px 18px 26px; }
footer .inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer a { color: var(--gold-hell); text-decoration: none; margin-right: 16px; }
footer a:hover { text-decoration: underline; }
footer .social svg { width: 28px; height: 28px; fill: var(--creme); margin-right: 10px; }
footer .social a:hover svg { fill: var(--gold-hell); }

/* ── Unterseiten (Speisekarte, Impressum, Datenschutz) ── */
.seite { max-width: 900px; margin: 0 auto; padding: 46px 18px; }
.seite h1 { color: var(--rot); margin-bottom: 20px; }
.seite h2 { text-align: left; font-size: 1.25rem; margin: 26px 0 8px; }
.seite p, .seite li { margin-bottom: 10px; }
.seite ul { padding-left: 22px; }

/* Blätter-Karte */
#buch { margin: 30px auto; max-width: 1000px; }
#buch .seite-bild { box-shadow: 0 6px 24px rgba(30,18,10,.35); }
.fallback-karte img { margin: 0 auto 20px; max-width: 720px; width: 100%; border: 2px solid var(--gold); border-radius: 4px; }
.blaetter-hinweis { text-align: center; color: #7a6a58; font-style: italic; margin-bottom: 8px; }

@media (max-width: 640px) {
  .hero { min-height: 52vh; }
  .grid img { height: 150px; }
}
