/* ==========================================================
   Goldwerk Pris K. – Stylesheet
   Farben und Schriften zentral hier anpassen.
   ========================================================== */

@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f7f3ec;          /* warmes Papierweiss */
  --bg-alt: #efe8dc;
  --ink: #2b2620;         /* Text */
  --muted: #6f655a;
  --gold: #a8833f;        /* Akzent */
  --gold-dark: #85652c;
  --line: #ddd2c0;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font: 500 .78rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section.alt { background: var(--bg-alt); }
.center { text-align: center; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.45; font-style: italic; color: var(--ink); }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 243, 236, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-banner { padding: 8px 24px; background: var(--gold-dark); color: #fff; font-size: .9rem; line-height: 1.4; text-align: center; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.logo span { color: var(--gold); font-style: italic; font-weight: 500; }
.nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.nav a {
  font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-dark); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero (Video oder Bild) ---------- */
.hero { position: relative; min-height: min(82vh, 760px); display: grid; place-items: center; overflow: hidden; color: #fff; background: #3a332b; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,25,20,.15), rgba(30,25,20,.55)); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 0 24px; }
.hero .eyebrow { color: #e9d3a3; }
.hero h1 { margin-bottom: .2em; }
.hero p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin: 0; }

.page-hero { position: relative; height: clamp(240px, 42vw, 440px); overflow: hidden; background: #3a332b; }
.page-hero img, .page-hero video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hinweis-Box (z.B. neue Öffnungszeiten) ---------- */
.notice {
  max-width: 720px; margin: 0 auto; padding: 36px 40px;
  border: 1px solid var(--gold); background: var(--bg); text-align: center;
}
.notice h2 { font-size: 2rem; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Zwei Spalten ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { width: 100%; height: auto; background: var(--line); }
.portrait { aspect-ratio: 3 / 4; object-fit: cover; max-width: 380px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .portrait { max-width: 100%; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; }
.gallery button { padding: 0; border: 0; background: var(--line); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,17,14,.92); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 12px 18px; line-height: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Öffnungszeiten ---------- */
.hours { width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; }
.hours th, .hours td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours th { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; width: 40%; }
.hours td { color: var(--ink); }
.hours .closed td { color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--gold-dark); }
.hours tr.today th::after { content: "heute"; margin-left: 10px; font: 500 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); vertical-align: middle; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.contact-grid h3 { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.contact-grid .big { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.button {
  display: inline-block; margin-top: 8px; padding: 14px 30px;
  border: 1px solid var(--gold); color: var(--gold-dark); text-decoration: none;
  font: 500 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.button:hover { background: var(--gold); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.site-footer .logo { font-size: 1.3rem; }
.site-footer a { color: var(--muted); }
