/*
 * Theme editorial — dunkel, gestalterisch.
 * Portiert aus docs/reference/onepager-generator/themes/editorial/.
 *
 * Bewusst ohne Google Fonts: eine eingebundene Webfont-URL lädt bei jedem
 * Besucher von einem Drittserver und überträgt dessen IP-Adresse. Für
 * Kundenseiten ist das ein DSGVO-Risiko, deshalb Systemschriften mit
 * passendem Charakter. Eigene Schriften später nur selbst gehostet.
 */

:root {
  --bg: #141210;
  --panel-bg: #1c1916;
  --ink: #f3ede4;
  --ink-soft: #b8ab99;
  --gold: #cba15c;
  --gold-bright: #e3bd7d;
  --line: #35302a;

  --font-display: Didot, "Bodoni MT", "Hoefler Text", Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* drückt den Footer an den unteren Rand, auch bei wenig Inhalt */
.content { flex: 1; }

a { color: var(--gold); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- header ---- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.logo {
  height: 42px;
  width: auto;
  filter: grayscale(1) brightness(1.4);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--gold-bright);
}

/* ---- hero ---- */

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  opacity: 0.5;
}

.hero-lines span {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--line) 25%, var(--line) 75%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 1.2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 48ch;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---- inhalt ---- */

.content {
  padding: 3rem 1.5rem 1rem;
}

.panel {
  margin-bottom: 2.75rem;
}

.panel h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin: 0 0 1.2rem;
}

.announcement {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
}

.section-text {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 62ch;
}

.section-text:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem 3rem;
}

@media (max-width: 620px) {
  .two-col { grid-template-columns: 1fr; gap: 0; }
}

/* ---- öffnungszeiten ---- */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.hours td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.hours td:first-child {
  color: var(--ink-soft);
  font-weight: 500;
  width: 52%;
}

.hours td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours tr.closed td:last-child {
  color: #6e6459;
  font-style: italic;
}

.hours-note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---- lage und kontakt ---- */

.address {
  font-size: 1.05rem;
  margin: 0;
}

.address-note,
.contact {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.contact a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact a:hover { border-bottom-color: var(--gold); }

/* ---- galerie ---- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--panel-bg);
}

.gallery img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.gallery figure:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.03);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
}

/* ---- footer ---- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--ink-soft);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.footer-name { margin: 0; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.social-links a:hover { border-bottom-color: var(--gold); }

/* ---- impressum ---- */

.impressum summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.impressum-body {
  max-width: 480px;
  margin: 0.9rem auto 0;
  text-align: left;
}

.impressum-body p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.impressum-heading {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.impressum-notice { font-style: italic; }
