/* Burghof — shared design system for all inner pages.
   Extends the homepage's dark/gold language instead of the generic
   white-card-grid template the pages used before. */

:root {
  --black: #15130f;
  --charcoal: #1d1b16;
  --gold: #c6a15b;
  --gold-bright: #d9bd81;
  --paper: #f6f3ec;
  --paper-2: #ece6d6;
  --ink: #1d1b16;
  --ink-soft: rgba(29,27,22,.65);
  --line: rgba(29,27,22,.13);
  --line-dark: rgba(246,243,236,.16);
  --radius: 2px;
  --shadow: 0 24px 56px rgba(21,19,15,.16);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.3rem, 4vw, 2.6rem); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ───────── Header / Nav ───────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21,19,15,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
}
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; color: var(--paper); }
.logo .gold { color: var(--gold); }
header nav { display: flex; align-items: center; gap: 2rem; }
header nav a { text-decoration: none; color: rgba(246,243,236,.7); font-size: .82rem; font-weight: 500; letter-spacing: .03em; padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; position: relative; }
header nav a:hover, header nav a.nav-active { color: var(--paper); border-color: var(--gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--paper); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu { display: none; position: fixed; inset: 0; background: var(--black); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--paper); text-decoration: none; font-size: 1.5rem; font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: .03em; }
.mobile-menu a:hover, .mobile-menu a.nav-active { color: var(--gold); }
.mobile-menu-close { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: none; color: var(--paper); font-size: 2rem; cursor: pointer; line-height: 1; }

@media (max-width: 860px) {
  header nav { display: none; }
  .hamburger { display: flex; }
}

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 48vh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,19,15,.35) 0%, rgba(21,19,15,.35) 40%, rgba(21,19,15,.92) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: clamp(5rem,10vw,7rem); padding-bottom: clamp(3rem,6vw,4rem); }
.hero-label { display: block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 720px; margin-bottom: 1rem; }
.hero p, .hero-sub { font-size: 1.05rem; color: rgba(246,243,236,.82); max-width: 560px; font-weight: 300; }

/* ───────── Section scaffolding ───────── */
.section { padding: clamp(4rem,8vw,6.5rem) 0; }
.section-dark { background: var(--black); color: var(--paper); }
.section-paper2 { background: var(--paper-2); }

.kicker { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.2rem,5vw,3.2rem); border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; flex-wrap: wrap; }
.section-dark .section-header { border-color: var(--line-dark); }
.section-header h2 { font-size: clamp(1.7rem,3.4vw,2.4rem); }
.section-header > span { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.section-dark .section-header > span { color: rgba(246,243,236,.55); }

/* ───────── Intro / editorial split ───────── */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem,6vw,4.5rem); align-items: center; }
.intro-image { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.intro-text h2 { font-size: clamp(1.6rem,3vw,2.1rem); margin-bottom: 1.1rem; line-height: 1.3; }
.intro-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.intro-text p:last-child { margin-bottom: 0; }

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

/* ───────── Stat row (no gray boxes) ───────── */
.stat-row { display: flex; flex-wrap: wrap; gap: 2.4rem 3rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.section-dark .stat-row { border-color: var(--line-dark); }
.stat { min-width: 90px; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--ink); }
.section-dark .stat-number { color: var(--paper); }
.stat-label { display: block; font-size: .76rem; color: var(--ink-soft); margin-top: .4rem; letter-spacing: .02em; }
.section-dark .stat-label { color: rgba(246,243,236,.55); }

/* ───────── Photo grid (for pages with real photography) ───────── */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.photo-card { position: relative; overflow: hidden; aspect-ratio: 4/3.2; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card .photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem;
  background: linear-gradient(0deg, rgba(21,19,15,.82), transparent);
  color: var(--paper); font-size: .92rem; font-weight: 600;
}
.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .photo-grid, .photo-grid.cols-3, .photo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .photo-grid, .photo-grid.cols-3, .photo-grid.cols-2 { grid-template-columns: 1fr; } }

/* ───────── Spec list (rooms, menu-like features — works without per-item photos) ───────── */
.spec-list { display: flex; flex-direction: column; }
.spec-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .5rem 1.6rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.section-dark .spec-item { border-color: var(--line-dark); }
.spec-item:last-child { border-bottom: 0; }
.spec-item .spec-num { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--gold); }
.spec-item .spec-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; grid-column: 2; }
.spec-item .spec-meta { grid-column: 2; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; }
.section-dark .spec-item .spec-meta { color: rgba(246,243,236,.55); }
.spec-item .spec-desc { grid-column: 2; font-size: .92rem; color: var(--ink-soft); margin-top: .6rem; max-width: 560px; }
.section-dark .spec-item .spec-desc { color: rgba(246,243,236,.7); }
.spec-item .spec-price { grid-column: 3; grid-row: 1; text-align: right; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.spec-item .spec-price small { display: block; font-weight: 400; font-size: .72rem; color: var(--ink-soft); }
.section-dark .spec-item .spec-price small { color: rgba(246,243,236,.5); }
.spec-item .spec-link { grid-column: 3; grid-row: 2; text-align: right; font-size: .82rem; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; white-space: nowrap; text-decoration: none; }
@media (max-width: 620px) {
  .spec-item { grid-template-columns: auto 1fr; }
  .spec-item .spec-price, .spec-item .spec-link { grid-column: 1 / -1; text-align: left; margin-top: .4rem; }
}

/* ───────── Feature list ───────── */
.feature-list { list-style: none; margin: 1.4rem 0; }
.feature-list li { padding: .5rem 0 .5rem 1.6rem; position: relative; color: var(--ink-soft); font-size: .95rem; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: .95em; width: 7px; height: 1px; background: var(--gold); }

/* ───────── Buttons (emphasized text, never a box) ───────── */
.btn {
  display: inline-block; appearance: none; background: none; border: none; padding: 0;
  font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.3;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: color .25s ease, border-color .25s ease, opacity .2s ease;
}
.btn:active { opacity: .65; }
.btn-gold { color: var(--gold); }
.btn-gold:hover { color: var(--gold-bright); }
.btn-line { color: var(--ink); border-color: rgba(29,27,22,.35); }
.btn-line:hover { color: var(--gold); border-color: var(--gold); }
.section-dark .btn-line, .hero .btn-line { color: var(--paper); border-color: rgba(246,243,236,.4); }
.section-dark .btn-line:hover, .hero .btn-line:hover { color: var(--gold); border-color: var(--gold); }

.link-gold { text-decoration: none; font-size: .88rem; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ───────── CTA band ───────── */
.cta-band { background: var(--black); color: var(--paper); padding: clamp(3.5rem,7vw,5rem) 0; text-align: center; }
.cta-band .kicker { justify-content: center; }
.cta-band h2 { font-size: clamp(1.7rem,3.4vw,2.4rem); margin-bottom: .9rem; }
.cta-band p { color: rgba(246,243,236,.72); max-width: 520px; margin: 0 auto 2rem; }

/* ───────── Tagungen / cross-promo teaser (replaces boxed gray card) ───────── */
.teaser {
  display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2.6rem 0;
}
.teaser-facts { display: flex; gap: 2.2rem; flex-shrink: 0; }
.teaser-fact { text-align: center; }
@media (max-width: 760px) { .teaser { grid-template-columns: 1fr; } .teaser-facts { justify-content: flex-start; } }

/* ───────── Forms (kontakt / reservierung) ───────── */
.form-grid { display: flex; flex-direction: column; gap: 1.2rem; max-width: 560px; }
.form-grid label { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: .4rem; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  padding: .75rem .9rem; font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--ink);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--gold); }
.form-grid textarea { resize: vertical; min-height: 110px; }

/* ───────── Footer ───────── */
footer { background: var(--black); color: rgba(246,243,236,.7); padding: 3.2rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-bottom: 2.4rem; }
.footer-section h4 { font-family: 'Inter', sans-serif; color: var(--gold); margin-bottom: 1rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.footer-section p, .footer-section a { color: rgba(246,243,236,.65); text-decoration: none; font-size: .9rem; line-height: 1.85; display: block; }
.footer-section a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; text-align: center; color: rgba(246,243,236,.4); font-size: .82rem; }
.footer-bottom a { color: rgba(246,243,236,.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ───────── Breadcrumb ───────── */
.breadcrumb { background: var(--paper-2); padding: .8rem 0; font-size: .82rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 .5rem; color: rgba(29,27,22,.3); }

/* ───────── Room detail page ───────── */
.room-detail { padding: clamp(3rem,6vw,4.5rem) 0; }
.room-detail .room-label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .6rem; }
.room-detail h1 { font-size: clamp(2rem,4vw,2.8rem); margin-bottom: .4rem; }
.room-count-tag { display: inline-block; font-size: .82rem; color: var(--ink-soft); margin: .6rem 0 2rem; border-bottom: 1px solid var(--line); padding-bottom: .4rem; }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.fact-item { padding: 1.1rem 1.3rem 1.1rem 0; border-left: 1px solid var(--line); padding-left: 1.3rem; }
.fact-item:first-child { border-left: 0; padding-left: 0; }
.fact-label { font-size: .7rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: .3rem; }
.fact-value { font-size: 1rem; font-weight: 600; }
@media (max-width: 760px) {
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact-item:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .fact-item:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 1.1rem; }
}

.room-detail .feature-list { max-width: 560px; margin-bottom: 2.4rem; }

.price-card { border-top: 2px solid var(--gold); padding: 1.6rem 0; margin-bottom: 1.8rem; max-width: 420px; }
.price-main { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; display: block; }
.price-sub { font-size: .85rem; color: var(--ink-soft); display: block; margin-top: .3rem; }
.price-note { margin-top: .8rem; font-size: .8rem; color: var(--ink-soft); line-height: 1.6; }

.detail-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 420px; }
.back-link { font-size: .85rem; color: var(--ink-soft); text-decoration: none; text-align: center; }
.back-link:hover { color: var(--gold); }

/* ───────── Legal pages ───────── */
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(1.9rem,4vw,2.4rem); margin-bottom: 2rem; }
.legal-body h2 { font-size: 1.2rem; margin: 2rem 0 .7rem; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .92rem; color: var(--ink-soft); margin-bottom: .85rem; }
.legal-body a { color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
.legal-body ul { margin-left: 1.3rem; list-style: disc; }
