/* Gasthaus zum "Bier-Adam" — Demo build 2026-09-24
   Palette sampled from the real facade photo: sign board #2B2021, awning #931A21, wall #F5F0E6 */
:root {
  --ink: #2b2021;
  --ink-soft: #554440;
  --red: #931a21;
  --red-dark: #6e1116;
  --paper: #f5f0e6;
  --paper-2: #ede5d4;
  --line: rgba(43, 32, 33, 0.16);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--red); }

.fraktur { font-family: "UnifrakturMaguntia", "Fraunces", serif; font-weight: 400; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 230, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding-block: 0.5rem;
}
.brand { display: flex; align-items: baseline; gap: 0.55rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand .small { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.brand .name { font-size: 1.5rem; line-height: 1; color: var(--red); white-space: nowrap; }
.topnav { display: flex; gap: 0.25rem; align-items: center; }
.topnav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem;
  padding: 0.55rem 0.75rem; border-radius: 999px; white-space: nowrap;
}
.topnav a:hover { background: var(--paper-2); }
.topnav a.cta { background: var(--red); color: #fff; }
.topnav a.cta:hover { background: var(--red-dark); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero img.bg { width: 100%; height: clamp(340px, 62vh, 560px); object-fit: cover; }
.hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 10, 0.42) 0%, rgba(20, 12, 10, 0.08) 40%, rgba(20, 12, 10, 0.72) 100%);
}
.hero-in {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding-bottom: 2.2rem;
}
.hero h1 {
  margin: 0 0 0.35rem; font-size: clamp(2.3rem, 6.5vw, 4.2rem); line-height: 1.05;
  font-weight: 400; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero h1 .zum { display: block; font-size: 0.42em; opacity: 0.92; }
.hero .addr { margin: 0 0 1.1rem; font-weight: 600; letter-spacing: 0.04em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.25rem; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 0.95rem; min-height: 44px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.65); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- sections ---------- */
section { padding-block: 3.2rem; }
.sec-head { margin: 0 0 1.4rem; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.4rem;
}
h2 { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.15; margin: 0; }
.lead { color: var(--ink-soft); max-width: 62ch; }

.haus-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; }
.haus-grid .mural { border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px rgba(43, 32, 33, 0.18); }
.haus-grid figure { margin: 0; }
.haus-grid figcaption { font-size: 0.85rem; color: var(--ink-soft); padding-top: 0.5rem; }
.signage { margin-top: 1.2rem; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(43, 32, 33, 0.14); max-width: 480px; }

/* ---------- contact ---------- */
#kontakt { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; align-items: start; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.card-list a { text-decoration: none; }
.card {
  display: flex; gap: 0.95rem; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.15rem;
}
.card:hover { border-color: var(--red); }
.card .ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2);
  display: grid; place-items: center; font-size: 1.25rem;
}
.card b { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.15rem; }
.card span { font-weight: 600; overflow-wrap: anywhere; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 34px rgba(43, 32, 33, 0.12); }
.map-box iframe { display: block; width: 100%; height: 380px; border: 0; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.55rem 1.05rem;
  font-weight: 700; font-size: 0.92rem; color: var(--ink); min-height: 44px;
}
.socials a:hover { border-color: var(--red); color: var(--red); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #efe8dc; padding-block: 2.4rem 2rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; justify-content: space-between; align-items: flex-start; }
footer .fname { font-size: 1.6rem; color: #fff; margin-bottom: 0.3rem; }
footer p { margin: 0.2rem 0; font-size: 0.92rem; color: rgba(239, 232, 220, 0.82); }
footer a { color: #fff; }
.foot-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 0.92rem; }
.foot-nav a { text-decoration: none; font-weight: 600; }
.foot-nav a:hover { text-decoration: underline; }
.foot-base { margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.8rem; color: rgba(239, 232, 220, 0.6); }

/* ---------- legal subpages ---------- */
.legal { max-width: 760px; }
.legal h2 { margin-top: 2.2rem; font-size: 1.3rem; }
.legal .back { display: inline-block; margin-bottom: 1.6rem; text-decoration: none; font-weight: 600; }
.unknown { color: var(--ink-soft); font-style: italic; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .haus-grid, .contact-grid { grid-template-columns: 1fr; }
  .map-box iframe { height: 320px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .topbar-in { flex-wrap: wrap; justify-content: center; text-align: center; padding-bottom: 0.45rem; }
  .topnav { flex-wrap: wrap; justify-content: center; }
  .topnav a { padding: 0.5rem 0.7rem; }
  .brand { justify-content: center; }
  .hero img.bg { height: min(78vh, 560px); }
  .hero-in { padding-bottom: 1.6rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  section { padding-block: 2.4rem; }
}
