/* =========================
   Variablen
   ========================= */
:root {
  --brand: #e37f6c;
  --text: #0f172a;
  --muted: #e2e8f0;

  --beige: #f5f0e8;            /* Hintergrund des Inhaltsfeldes */
  --content-w: 980px;          /* einheitliche Inhaltsbreite */
  --radius: 18px;

  --footer-h: 64px;            /* Höhe des fixen Footers */
}

/* =========================
   Basis
   ========================= */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--text);
  line-height: 1.6;

  /* Seitenhintergrund – bleibt scharf, ohne Blur */
  background: url("/images/Achtergrond.png") center/cover no-repeat fixed;
}

/* Überschriften */
.serif { font-family: "Playfair Display", Georgia, serif; }
h1,h2,h3 { margin: 0 0 .75rem; }
h1.serif { font-size: 2rem; }

/* Links/Buttons */
a { color: var(--brand); text-decoration: none; }
a:hover { opacity:.9; }
.btn {
  display:inline-block; padding:.65rem 1.1rem; border-radius:999px;
  border:1px solid var(--muted); background:#fff; color:var(--text); font-weight:500;
}
.btn.primary { background: var(--brand); border-color: var(--brand); color:#fff; }

/* =========================
   Header (sticky) / Footer (fixed)
   ========================= */
.site-header {
  position: sticky; top:0; z-index: 1000;
  background:#fff; border-bottom:1px solid var(--muted);
}
.header-row {
  max-width: var(--content-w); margin:0 auto; padding:.8rem 1rem;
  display:flex; align-items:center; justify-content:space-between;
}
.brand {
  display:flex; align-items:center; gap:.6rem; color:inherit; text-decoration:none;
}
.brand-mark {
  width:36px; height:36px; border-radius:999px;
  background:var(--brand); color:#fff;
  display:grid; place-items:center; font-weight:700;
}
.brand-text {
  font-family:"Playfair Display", Georgia, serif;
  font-size:1.15rem; font-weight:600;
}

.site-footer {
  position: fixed; left:0; right:0; bottom:0; height: var(--footer-h);
  background:#fff; border-top:1px solid var(--muted); z-index: 1000;
  display:flex; align-items:center;
  box-shadow: 0 -6px 16px rgba(0,0,0,.05);
}
.footer-row {
  max-width: var(--content-w); margin:0 auto; padding:0 1rem; width:100%;
  display:flex; align-items:center; justify-content:space-between;
  font-size: 0.85rem;
}
.footer-row a {
  margin-left: 1rem; color: var(--brand);
}
.footer-row a:hover {
  text-decoration: underline;
}

/* =========================
   Zentrales beiges Inhaltsfeld
   ========================= */
.page-main.container {
  max-width: var(--content-w);
  margin: 1.25rem auto calc(var(--footer-h) + 1.25rem);
  background: var(--beige);
  border: 1px solid #000;              
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  padding: 2rem;
  position: relative; z-index: 1;
}
.page-main.container .p-section { margin: 1.5rem 0; }
.page-main.container .p-note {
  margin-top:1.25rem; color:#64748b; font-size:.9rem; text-align:center;
}

/* Hero */
.hero { background: transparent; padding: 0; margin: 0 0 1rem; }
.hero .p-title { font-size:1.6rem; }

/* =========================
   Preisliste
   ========================= */
.pb {
  background:#fff; border:1px solid #e6e8ee; border-radius:12px; padding:1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(16,24,40,.05);
}
.pb + .pb { margin-top:.8rem; }
.pb--large {
  border-width:2px; border-color: var(--brand);
  box-shadow:0 8px 22px rgba(227,127,108,.10);
}
.pb__head {
  display:grid; grid-template-columns:1fr auto; gap:.75rem 1rem; align-items:center;
}
.pb__title {
  font-family:"Playfair Display", Georgia, serif; font-weight:700;
}
.pb__price {
  justify-self:end; background: var(--brand); color:#fff;
  border-radius:999px; padding:.45rem .85rem; font-weight:800; white-space:nowrap;
}
.pb__desc { margin-top:.5rem; color:#475569; }
.pb-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem;
}
@media (max-width: 820px) {
  .pb-grid { grid-template-columns:1fr; }
}
.chip {
  display:inline-block; font-size:.8rem; padding:.25rem .55rem;
  border-radius:999px; background:#f3f4f7; border:1px solid #ebeef4; color:#475569;
}

/* =========================
   Responsive Navigation
   ========================= */

/* Desktop Default */
.site-header .nav { display: flex; gap: 1rem; }
.site-header .nav a {
  color:inherit; padding:.25rem .35rem; border-radius:8px;
}
.site-header .nav a:hover { background:#fff3f0; }
.site-header .menu-btn { display: none; }

/* Mobile Panel */
#mobileNav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--muted);
  z-index: 1100;
  padding-bottom: calc(var(--footer-h) + 8px);
}
#mobileNav.is-open { display: flex; }

/* Breakpoint */
@media (max-width: 900px) {
  .site-header .nav { display: none; }
  .site-header .menu-btn { display: inline-flex; align-items:center; justify-content:center; }
}

/* Sicherheit */
#mobileNav[hidden] { display: none !important; }
@media (min-width: 901px) {
  #mobileNav { display: none !important; }
}

/* =========================
   Sonstiges
   ========================= */
@media (max-width: 520px) {
  :root { --footer-h: 72px; }
  .page-main.container { margin-bottom: calc(var(--footer-h) + 1rem); }
}

.hero .map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Verhältnis */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #000; /* schwarzer Rand */
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.hero .map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--muted);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 1rem;
  z-index: 2000;
  font-size: 0.95rem;
}

.cookie-content {
  max-width: var(--content-w);
  margin: 0 auto;
}

.cookie-content p {
  margin: 0 0 0.75rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-buttons .btn {
  flex: 1;
}

/* Cookie Wall */
#cookie-wall {
  position: fixed; inset: 0; z-index: 3000;
}
#cookie-wall[hidden] { display: none; }
.cw-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.25);
}
.cw-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--muted);
  box-shadow: 0 -8px 24px rgba(0,0,0,.15);
  padding: 1rem 0;
}
.cw-inner {
  max-width: var(--content-w, 980px);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.cw-text p { margin: .25rem 0 0; font-size: .95rem; }
.cw-text a { color: var(--brand); text-decoration: underline; }
.cw-actions { display: flex; gap: .5rem; }
.cw-actions .btn { min-width: 150px; }
@media (max-width: 680px) {
  .cw-inner { grid-template-columns: 1fr; gap: .75rem; }
  .cw-actions { justify-content: flex-end; }
}
