/* ============================================================
   5vorhaar — Éditorial design system
   Shared across landing / demo / kontakt / impressum
   Palette + type identical to design_handoff_landing & booking
   ============================================================ */

:root {
  --paper:    #F4F1EC;
  --ink:      #1A1716;
  --ink-soft: #5C544E;
  --rule:     #D6CFC4;
  --clay:     #A24E36;
  --cream:    #EBE5D8;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:  "Manrope", -apple-system, system-ui, sans-serif;

  --pad-x: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

::selection { background: var(--clay); color: var(--paper); }

/* Focus rings — clay, 2px offset, sharp */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
  border-radius: 0;
}

/* ---------- Primitives ---------- */

.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 14px 26px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  transition: background 150ms ease, color 150ms ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #2C2622;
  color: var(--paper);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 10px;
}

/* Wordmark — italic clay 5 + roman ink "vorhaar" */
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.014em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}
.wordmark em {
  font-style: italic;
  color: var(--clay);
  font-weight: 400;
}
.wordmark.lg {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.027em;
  line-height: 0.92;
}

/* ---------- Site header (persistent) ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px var(--pad-x);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wordmark {
  font-size: 22px;
  letter-spacing: -0.014em;
}

.site-nav {
  display: flex;
  gap: 36px;
}
.site-nav a {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 150ms ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-right .link {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.header-right .link:hover { color: var(--ink); }

/* ---------- Section primitive ---------- */

.section {
  padding: 96px var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
  display: inline-block;
}

.section-title {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: 32px;
}
.section-title em {
  font-style: italic;
  color: var(--clay);
}

.section-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
}

/* Section on ink (inverted) */
.section.dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.section.dark .section-title { color: var(--paper); }
.section.dark .section-lede { color: rgba(244, 241, 236, 0.7); }
.section.dark .section-eyebrow { color: rgba(244, 241, 236, 0.55); }
.section.dark .section-eyebrow::before { background: var(--clay); }
.section.dark .btn {
  border-color: var(--paper);
  color: var(--paper);
}
.section.dark .btn:hover {
  background: var(--paper);
  color: var(--ink);
}
.section.dark .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.section.dark .btn-primary:hover { background: #E8E1D2; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(244, 241, 236, 0.65);
  padding: 64px var(--pad-x) 36px;
  font-family: var(--sans);
  font-size: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 241, 236, 0.15);
}

.footer-brand .wordmark {
  color: var(--paper);
  font-size: 28px;
  margin-bottom: 14px;
}
.footer-brand .wordmark em { color: var(--clay); }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(244, 241, 236, 0.7);
  max-width: 280px;
  line-height: 1.5;
}

.footer-col h6 {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}

.footer-col a, .footer-col .text {
  display: block;
  color: rgba(244, 241, 236, 0.7);
  text-decoration: none;
  padding: 4px 0;
  font-size: 12px;
  transition: color 150ms ease;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.5);
}

.footer-bottom .footer-cities {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(244, 241, 236, 0.6);
}

/* ---------- Responsive ---------- */

@media (max-width: 1099px) {
  :root { --pad-x: 40px; }
  .section-title { font-size: 44px; }
}

@media (max-width: 800px) {
  :root { --pad-x: 24px; }
  .site-header {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px var(--pad-x);
  }
  .site-nav { display: none; }
  .header-right .link { display: none; }
  .section { padding: 64px var(--pad-x); }
  .section-title { font-size: 34px; }
  .section-lede { font-size: 17px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

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