/* =========================================================
   Zigarren Hessberger — Redesign
   Warmes Lounge-Design: Anthrazit/Bordeaux + Gold auf Creme
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/playfair-display-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/playfair-display-italic-variable.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  /* Farben */
  --ink: #1b1310;
  --ink-2: #241a15;
  --ink-3: #2e2119;
  --bordeaux: #641313;
  --bordeaux-deep: #430b0b;
  --bordeaux-bright: #8a1c1c;
  --gold: #c9a24a;
  --gold-light: #e4c878;
  --gold-dim: #9c7d38;
  --cream: #faf5ea;
  --cream-2: #f1e8d6;
  --cream-3: #e9dcc3;
  --text-dark: #2a2019;
  --text-dark-muted: #6c5c4d;
  --text-light: #f1e8d6;
  --text-light-muted: #c3b3a0;

  /* Typografie */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Sonstiges */
  --container-w: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 50px -20px rgba(27, 19, 16, 0.35);
  --shadow-hard: 0 10px 30px -12px rgba(27, 19, 16, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.2px;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { max-width: 68ch; }
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 720px) { .container { padding-inline: 40px; } }

/* Fokus-Sichtbarkeit */
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Eyebrow / Kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-dim);
}
section.section--dark .eyebrow,
.on-dark .eyebrow { color: var(--gold-light); }
section.section--dark .eyebrow::before,
.on-dark .eyebrow::before { background: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dim));
  color: var(--ink);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-hard); }
.btn--outline-dark {
  border: 1.5px solid var(--gold-dim);
  color: var(--text-light);
}
.btn--outline-dark:hover { background: rgba(201, 162, 74, 0.12); border-color: var(--gold-light); }
.btn--outline-light {
  border: 1.5px solid var(--bordeaux);
  color: var(--bordeaux);
}
.btn--outline-light:hover { background: var(--bordeaux); color: var(--cream); }
.btn--sm { padding: 10px 20px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 19, 16, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(201, 162, 74, 0.18);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(20, 14, 12, 0.92); }
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.brand-text {
  font-family: var(--font-display);
  color: var(--cream);
  line-height: 1.1;
}
.brand-text strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light-muted);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.main-nav a.nav-link:hover,
.main-nav .has-dropdown:hover > a.nav-link,
.main-nav li.is-active > a.nav-link {
  color: var(--cream);
  background: rgba(201, 162, 74, 0.14);
}
.main-nav .caret { width: 9px; height: 9px; opacity: 0.75; transition: transform 0.25s; }
.main-nav .has-dropdown:hover .caret { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--ink-2);
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-light-muted);
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover { background: rgba(201, 162, 74, 0.14); color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: all 0.3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    height: 100vh;
    background: var(--ink);
    border-left: 1px solid rgba(201, 162, 74, 0.2);
    padding: 100px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { padding: 14px 6px; font-size: 1.02rem; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 14px;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown > a.nav-link { justify-content: space-between; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--text-light);
  background: var(--ink);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,19,16,0.55) 0%, rgba(27,19,16,0.88) 78%, var(--ink) 100%),
              linear-gradient(90deg, rgba(27,19,16,0.85) 0%, rgba(27,19,16,0.25) 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 150px 100px;
  max-width: 760px;
}
.hero--page .hero-content { padding-block: 120px 76px; max-width: 700px; }
.hero-content .eyebrow { margin-bottom: 18px; }
.hero-content h1 { color: var(--cream); margin-bottom: 20px; }
.hero-content p.lead {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  max-width: 56ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; position: relative; }
.section--dark { background: var(--ink); color: var(--text-light); }
.section--bordeaux {
  background: linear-gradient(160deg, var(--bordeaux-deep), var(--bordeaux) 60%, var(--bordeaux-deep));
  color: var(--text-light);
}
.section--cream2 { background: var(--cream-2); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--text-dark-muted); font-size: 1.05rem; }
.section--dark .section-head p, .section--bordeaux .section-head p { color: var(--text-light-muted); }

@media (max-width: 720px) { .section { padding-block: 60px; } }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1040px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--cream);
  border: 1px solid rgba(100, 19, 19, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.2rem; }
.card-body p { font-size: 0.94rem; color: var(--text-dark-muted); flex: 1; }
.card-link {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bordeaux);
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.25s; }
.card:hover .card-link svg { transform: translateX(4px); }

.section--dark .card, .section--bordeaux .card {
  background: rgba(250, 245, 234, 0.04);
  border-color: rgba(201, 162, 74, 0.18);
}
.section--dark .card-body h3, .section--bordeaux .card-body h3 { color: var(--cream); }
.section--dark .card-body p, .section--bordeaux .card-body p { color: var(--text-light-muted); }
.section--dark .card-link, .section--bordeaux .card-link { color: var(--gold-light); }

/* Blog-Karten mit Datum */
.blog-date {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.16);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Split (Bild + Text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.split-media .frame-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(27,19,16,0.82);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,74,0.35);
}
.split-body p { color: var(--text-dark-muted); margin-top: 16px; }
.section--dark .split-body p, .section--bordeaux .split-body p { color: var(--text-light-muted); }
.split-body h2 { margin-top: 14px; }
.split-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; }
.split-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Zitat ---------- */
.quote {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding: 10px 20px;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 6px;
}
.quote p.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--cream);
  max-width: none;
  line-height: 1.5;
}
.quote-cite {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.quote-cite span { display: block; color: var(--text-light-muted); font-size: 0.82rem; margin-top: 4px; }

/* ---------- Info-Box (Kontakt / Öffnungszeiten) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 162, 74, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.22);
}
.info-cell {
  background: var(--ink-2);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-cell .icon {
  width: 34px; height: 34px;
  color: var(--gold);
  margin-bottom: 6px;
}
.info-cell h3 { color: var(--cream); font-size: 1.05rem; }
.info-cell p, .info-cell address { font-style: normal; color: var(--text-light-muted); font-size: 0.95rem; }
.info-cell .hours-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; color: var(--text-light-muted); padding-block: 3px; }
.info-cell .hours-row strong { color: var(--cream); font-weight: 500; }
.info-cell a.inline-link { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
@media (max-width: 940px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Artikel (Blog-Detail) ---------- */
.article-header { max-width: 760px; }
.article-body {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.05rem;
  color: var(--text-dark);
}
.article-body p { max-width: none; }
.article-body h2 { margin-top: 18px; font-size: 1.5rem; }
.article-footer {
  max-width: 760px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(100,19,19,0.15);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-light-muted); }
.footer-top { padding-block: 72px 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col p { font-size: 0.92rem; color: var(--text-light-muted); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: var(--text-light-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 34px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--cream); }
.footer-hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding-block: 4px; }
.footer-hours-row strong { color: var(--cream); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(201,162,74,0.15);
  padding-block: 22px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}
.footer-bottom-inner ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-inner a:hover { color: var(--gold-light); }

@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(201,162,74,0.4);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-soft);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Legal-Seiten (Impressum/Datenschutz) ---------- */
.legal-body {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal-body h2 { font-size: 1.4rem; margin-top: 20px; }
.legal-body h3 { font-size: 1.1rem; margin-top: 6px; }
.legal-body p, .legal-body address { max-width: none; font-size: 0.98rem; color: var(--text-dark-muted); font-style: normal; }
.legal-body strong { color: var(--text-dark); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}
