/* ==========================================================
   Round Table 49 Kufstein — shared styles (Variante A)
   Direction: Klassisch-elegant
   Cormorant Garamond + Inter · warm cream · thin rules
   ========================================================== */

:root {
  /* Brand */
  --rt-red: #8b1a1a;
  --rt-red-deep: #6a1112;
  --rt-ink: #1a1613;
  --rt-ink-soft: #3a342e;
  --rt-paper: #fbfaf7;
  --rt-cream: #f2ede4;
  --rt-cream-warm: #ebe3d4;
  --rt-line: #d8cfc0;
  --rt-line-soft: #e6dfd1;
  --rt-muted: #847c72;
  --rt-gold: #b98c4c;
  --rt-success: #4a6b3f;
  --rt-danger: #a02a1f;

  /* Type */
  --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.78rem, 0.75rem + 0.1vw, 0.85rem);
  --step-0:  clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  --step-1:  clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  --step-2:  clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --step-3:  clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --step-4:  clamp(2.8rem, 2rem + 3.5vw, 4.4rem);
  --step-5:  clamp(3.8rem, 2.6rem + 5.5vw, 6.8rem);
  --step-6:  clamp(5rem, 3rem + 8vw, 10rem);

  /* Layout */
  --max: 1280px;
  --max-narrow: 960px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 0;
  --radius-lg: 0;
  --border-w: 1px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--rt-ink);
  background: var(--rt-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--rt-red); color: var(--rt-paper); }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
h3, h4 { font-weight: 400; }

.serif { font-family: var(--font-display); font-weight: 400; }
.italic { font-style: italic; }

.display-xl { font-size: var(--step-6); line-height: 0.92; letter-spacing: -0.02em; font-weight: 300; }
.display-l  { font-size: var(--step-5); line-height: 0.95; letter-spacing: -0.015em; font-weight: 300; }
.display-m  { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.015em; font-weight: 300; }
.display-s  { font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.01em; font-weight: 300; }

em.red, .serif-em, h1 em, h2 em, h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--rt-red);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rt-red);
  line-height: 1;
}
.eyebrow--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.eyebrow--centered::before,
.eyebrow--centered::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--rt-red);
  display: block;
}

.lede { font-size: var(--step-1); line-height: 1.7; color: var(--rt-ink-soft); text-wrap: pretty; max-width: 58ch; }

/* Layout helpers */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(70px, 9vw, 140px) 0; }
.section--tight { padding: clamp(50px, 6vw, 90px) 0; }
.section--rule { border-bottom: 1px solid var(--rt-line); }
.section--rule-top { border-top: 1px solid var(--rt-line); }
.section--cream { background: var(--rt-cream); }
.section--ink { background: var(--rt-ink); color: var(--rt-paper); }

.divider {
  height: 1px;
  background: var(--rt-line);
  border: 0;
  margin: 0;
}
.rule-center {
  width: 60px; height: 1px; background: var(--rt-red);
  margin: 0 auto;
}

.ornament {
  font-family: var(--font-display);
  color: var(--rt-red);
  font-size: 1.8rem;
  text-align: center;
  line-height: 1;
  display: block;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
}

/* Section marker — centered */
.section-marker {
  text-align: center;
  margin-bottom: 50px;
}
.section-marker__eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rt-red);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.section-marker__eyebrow::before,
.section-marker__eyebrow::after {
  content: '—';
  color: var(--rt-red);
  letter-spacing: 0;
}

/* ========== NAVBAR ========== */
.rt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rt-line);
}
.rt-nav__inner {
  display: flex;
  align-items: center;
  padding: 6px var(--gutter);
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.rt-nav__brand {
  display: flex;
  align-items: center;
  padding: 4px 0;
}
.rt-nav__brand { flex-shrink: 0; }
.rt-nav__brand img {
  height: clamp(64px, 7vw, 86px) !important;
  width: auto !important;
  max-width: 120px !important;
  display: block;
  object-fit: contain;
}
.rt-nav__brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  line-height: 1;
}
.rt-nav__brand-text small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rt-muted);
  margin-top: 6px;
  font-weight: 500;
}
.rt-nav__links {
  display: flex;
  gap: clamp(22px, 2.5vw, 38px);
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-left: auto;
}
.rt-nav__links a {
  color: var(--rt-ink);
  transition: color 0.2s;
  position: relative;
}
.rt-nav__links a:hover,
.rt-nav__links a.is-active { color: var(--rt-red); }
.rt-nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -10px;
  width: 20px; height: 1px;
  background: var(--rt-red);
}

.rt-nav__cta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--rt-red);
  border-bottom: 1px solid var(--rt-red);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.rt-nav__cta:hover { color: var(--rt-red-deep); border-color: var(--rt-red-deep); }

.rt-nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--rt-muted);
  font-weight: 500;
}
.rt-nav__lang button {
  color: var(--rt-muted);
  padding: 4px 2px;
  letter-spacing: 0.12em;
}
.rt-nav__lang button.is-active { color: var(--rt-red); border-bottom: 1px solid var(--rt-red); }

.rt-nav__menu-btn { display: none; }
.rt-nav__mobile { display: none; }

@media (max-width: 1000px) {
  .rt-nav__links a { display: none; }
  .rt-nav__links a:nth-child(-n+4) { display: inline; }
}
@media (max-width: 820px) {
  .rt-nav__inner { padding-top: 8px; padding-bottom: 8px; }
  .rt-nav__brand { padding: 3px 0; }
  .rt-nav__brand img { height: 58px !important; max-width: 82px !important; }
  .rt-nav__links, .rt-nav__cta, .rt-nav__lang { display: none; }
  .rt-nav__menu-btn {
    display: flex;
    margin-left: auto;
    width: 42px; height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rt-line);
    border-radius: 99px;
  }
  .rt-nav__mobile {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--rt-paper);
    border-bottom: 1px solid var(--rt-line);
    padding: 24px var(--gutter) 32px;
    flex-direction: column;
    gap: 6px;
  }
  .rt-nav__mobile.is-open { display: flex; }
  .rt-nav__mobile a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--rt-line-soft);
    font-weight: 400;
  }
  .rt-nav__mobile .rt-nav__lang {
    display: flex;
    margin-top: 14px;
    align-self: flex-start;
    padding: 6px 10px;
    border: 1px solid var(--rt-line);
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn--primary { background: var(--rt-red); color: var(--rt-paper); border-color: var(--rt-red); }
.btn--primary:hover { background: var(--rt-red-deep); border-color: var(--rt-red-deep); }
.btn--ghost { border-color: var(--rt-ink); color: var(--rt-ink); background: transparent; }
.btn--ghost:hover { background: var(--rt-ink); color: var(--rt-paper); }
.btn--light { background: var(--rt-paper); color: var(--rt-ink); border-color: var(--rt-line); }
.btn--light:hover { background: var(--rt-cream); }
.btn--dark { background: var(--rt-ink); color: var(--rt-paper); border-color: var(--rt-ink); }
.btn--dark:hover { background: var(--rt-red); border-color: var(--rt-red); }
.btn--link {
  padding: 0 0 4px 0;
  border: 0;
  border-bottom: 1px solid var(--rt-red);
  border-radius: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rt-red);
  letter-spacing: 0;
  text-transform: none;
}
.btn--link:hover { color: var(--rt-red-deep); border-color: var(--rt-red-deep); }
.btn--small { padding: 10px 20px; font-size: 0.72rem; }
.btn--large { padding: 18px 36px; font-size: 0.88rem; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ========== FORMS ========== */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rt-muted);
  font-weight: 500;
}
.field label .req { color: var(--rt-red); }
.field input,
.field select,
.field textarea {
  border: 0;
  border-bottom: 1px solid var(--rt-line);
  background: transparent;
  padding: 12px 0;
  border-radius: 0;
  font-size: 1.05rem;
  transition: border-color 0.2s;
  font-family: var(--font-body);
  color: var(--rt-ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rt-red);
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--rt-danger);
}
.field .hint {
  font-size: 0.78rem;
  color: var(--rt-muted);
  font-style: italic;
}
.field .error-msg {
  color: var(--rt-danger);
  font-size: 0.82rem;
  display: none;
  font-style: italic;
}
.field .error-msg.is-visible { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 640px) {
  .field-row, .field-row-3 { grid-template-columns: 1fr; gap: 16px; }
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--rt-ink-soft);
}
.checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px; min-width: 18px;
  border: 1px solid var(--rt-muted);
  border-radius: 0;
  margin-top: 3px;
  cursor: pointer;
  position: relative;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.checkbox input[type="checkbox"]:checked {
  background: var(--rt-red);
  border-color: var(--rt-red);
}
.checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 0;
  width: 6px; height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.checkbox a { color: var(--rt-red); border-bottom: 1px solid var(--rt-red); }

/* ========== FOOTER ========== */
.rt-footer {
  background: var(--rt-ink);
  color: var(--rt-cream);
  padding: 100px 0 32px;
  border-top: 1px solid var(--rt-ink);
}
.rt-footer__grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.rt-footer__grid > div:first-child {
  margin-right: auto;
}
@media (max-width: 860px) {
  .rt-footer__grid { flex-wrap: wrap; gap: 40px; }
  .rt-footer__grid > div:first-child { width: 100%; margin-right: 0; }
}
.rt-footer h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.5);
  margin-bottom: 20px;
}
.rt-footer a {
  color: var(--rt-cream);
  opacity: 0.8;
  display: block;
  padding: 5px 0;
  font-size: 0.92rem;
  transition: opacity 0.2s, color 0.2s;
}
.rt-footer a:hover { opacity: 1; color: var(--rt-paper); }
.rt-footer__brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.rt-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rt-gold);
  opacity: 0.9;
}
.rt-footer__bottom {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  opacity: 0.5;
  letter-spacing: 0.05em;
}
@media (max-width: 640px) { .rt-footer__bottom { flex-direction: column; gap: 8px; } }

/* ========== UTILS ========== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-size: 0.9em; }

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--rt-line);
  background: transparent;
  color: var(--rt-ink-soft);
}
.chip--red { background: var(--rt-red); color: #fff; border-color: transparent; letter-spacing: 0.2em; }
.chip--dark { background: var(--rt-ink); color: var(--rt-cream); border-color: transparent; }

/* Figure */
figure.rt-figure { margin: 0; }
figure.rt-figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
figure.rt-figure figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--rt-muted);
  margin-top: 14px;
  text-align: center;
}

/* Fade-in on scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 0.9s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Drop cap utility */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  padding: 0.08em 0.08em 0 0;
  color: var(--rt-red);
  font-weight: 400;
}
