/* ==========================================================================
   REPIETER
   ========================================================================== */
:root {
  --bg: #0a0a0c;
  --bg-soft: #121215;
  --bg-elevated: #17171b;
  --bg-elevated-2: #1c1c21;
  --text: #f4efe7;
  --muted: #a8a095;
  --muted-2: #6f6a63;
  --gold: #c8a96a;
  --gold-bright: #ddc48e;
  --gold-dim: rgba(200, 169, 106, 0.5);
  --gold-wash: rgba(200, 169, 106, 0.08);
  --gold-wash-strong: rgba(200, 169, 106, 0.16);
  --border: rgba(244, 239, 231, 0.09);
  --border-strong: rgba(244, 239, 231, 0.16);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  --font-display: "Cormorant Garamond", "Cormorant", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --container-narrow: 760px;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 6px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
  --dur-slow: 500ms;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #14120d; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: 0.01em; }

.h1, h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.h2, h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.h3, h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
}

em, .accent { color: var(--gold); font-style: italic; }

.muted { color: var(--muted); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
.wrap-narrow { max-width: var(--container-narrow); }

section.section { padding-block: var(--space-6); position: relative; }
section.section.tight { padding-block: var(--space-5); }
.section-alt { background: var(--bg-soft); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-5);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 2em;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: #16130d;
  box-shadow: 0 8px 30px -8px rgba(200, 169, 106, 0.55);
}
.btn-primary:hover { background: var(--gold-bright); box-shadow: 0 10px 34px -6px rgba(200, 169, 106, 0.7); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

.btn-sm { padding: 0.7em 1.4em; font-size: 0.82rem; }

.actions { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; max-width: 100%; }

@media (max-width: 480px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: var(--space-2);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), padding var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
  padding-block: 0.7rem;
}
/* backdrop-filter on an ancestor creates a new containing block for
   position:fixed descendants (notably in iOS Safari), which would break
   the fullscreen mobile nav overlay below whenever the page was scrolled
   before opening it — so drop the filter while the nav is open. */
body.nav-open .site-header.is-scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

.brand { display: flex; align-items: center; }
.brand img { height: 32px; width: auto; }

.main-nav { display: flex; align-items: center; gap: var(--space-4); }
.main-nav ul { display: flex; gap: var(--space-3); }
.main-nav a:not(.btn) {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  position: relative;
  padding-block: 4px;
  transition: color var(--dur) var(--ease);
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right var(--dur) var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--text); }
.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 18px; height: 1px; background: var(--text);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle span { margin: 4px 0; }

@media (max-width: 860px) {
  .main-nav ul, .main-nav .btn { display: none; }
  .nav-toggle { display: flex; }

  body.nav-open .main-nav {
    display: flex;
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(8, 8, 9, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
  }
  body.nav-open .main-nav ul { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
  body.nav-open .main-nav ul a { font-size: 1.4rem; font-family: var(--font-display); }
  body.nav-open .main-nav .btn { display: inline-flex; }
  body.nav-open .nav-toggle span { opacity: 0; }
  body.nav-open .nav-toggle::before { transform: translateY(4.5px) rotate(45deg); }
  body.nav-open .nav-toggle::after { transform: translateY(-4.5px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--space-7) var(--space-6);
  padding-inline: var(--space-3);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(46% 38% at 50% 12%, rgba(200, 169, 106, 0.16), transparent 65%),
    radial-gradient(60% 50% at 82% 92%, rgba(200, 169, 106, 0.07), transparent 70%),
    radial-gradient(50% 45% at 10% 88%, rgba(120, 100, 60, 0.06), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.hero .brand-mark { width: min(260px, 60vw); margin-bottom: var(--space-4); }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-inline: auto; margin-top: var(--space-2); }
.hero .actions { justify-content: center; margin-top: var(--space-4); }

.scroll-cue {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }

/* ==========================================================================
   Stat / trust bar
   ========================================================================== */
.stat-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-4);
}
.stat-bar .grid { grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-bar .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  font-weight: 500;
}
.stat-bar .stat span { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 720px) { .stat-bar .grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } }

/* ==========================================================================
   Cards — services
   ========================================================================== */
.card {
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.service-card .icon svg { width: 22px; height: 22px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-2); }
.service-card .tags span {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 10px;
}

/* ==========================================================================
   Detailed service rows (leistungen.html)
   ========================================================================== */
.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-5);
}
.service-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.service-row.reverse .visual { order: 2; }
.service-row .index {
  font-family: var(--font-display);
  font-size: 5rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-dim);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.service-row ul.feature-list { margin-top: var(--space-2); display: grid; gap: 10px; }
.service-row ul.feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.95rem; color: var(--muted);
}
.service-row ul.feature-list li svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--gold); }

@media (max-width: 860px) {
  .service-row, .service-row.reverse { grid-template-columns: 1fr; gap: var(--space-3); }
  .service-row.reverse .visual { order: 0; }
}

/* Placeholder visual blocks (stand-in for photography) */
.visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ph-bg, linear-gradient(135deg, #201d17, #14130f 60%, #0c0b09));
}
.visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(200,169,106,0.14) 50%, transparent 60%),
    radial-gradient(120% 90% at 15% 0%, rgba(200,169,106,0.18), transparent 55%);
}
.visual::after {
  content: attr(data-label);
  position: absolute;
  left: var(--space-2); bottom: var(--space-2);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--border-strong);
  background: rgba(10,10,12,0.5);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 100px;
}
.visual .mark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dim);
  opacity: 0.55;
}
.visual .mark svg { width: 30%; height: 30%; }

/* Real photography instead of a placeholder */
.visual.has-photo::before,
.visual.has-photo::after { content: none; }
.visual.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Equipment strip
   ========================================================================== */
.brand-strip {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  align-items: center; justify-content: center;
  padding-block: var(--space-3);
}
.brand-strip span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Process / Ablauf
   ========================================================================== */
.process { counter-reset: step; }
.process .grid { grid-template-columns: repeat(4, 1fr); }
.process-step { position: relative; padding-top: var(--space-3); border-top: 1px solid var(--border-strong); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .process .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process .grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   About
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}
.about-layout .portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
}
.about-layout .text-content { display: grid; gap: var(--space-2); }
.about-layout .text-content p { color: var(--muted); }
blockquote.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--text);
  border-left: 2px solid var(--gold);
  padding-left: var(--space-3);
  margin-block: var(--space-2);
}
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-2);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding-block: 6px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
  flex: none;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-answer { padding-top: var(--space-2); color: var(--muted); display: grid; gap: 10px; max-width: 68ch; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, var(--gold-wash), transparent 60%), var(--bg-elevated);
}
.cta-banner .actions { justify-content: center; margin-top: var(--space-3); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-6); align-items: start; }
.contact-info { display: grid; gap: var(--space-4); position: sticky; top: 120px; }
.contact-info .block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.contact-info .block p, .contact-info .block a { color: var(--muted); }
.contact-info .block a:hover { color: var(--gold-bright); }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-list span { font-size: 0.82rem; border: 1px solid var(--border); padding: 5px 12px; border-radius: 100px; color: var(--muted); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); }
.contact-form label { display: grid; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.contact-form label.full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted-2); }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
  outline: none;
}
.contact-form .privacy-check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 0.82rem; }
.contact-form .privacy-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold); }
.contact-form .privacy-check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .hp-field { position: absolute; left: -9999px; }
.contact-form .form-submit { justify-self: start; margin-top: 4px; }
.contact-form .form-note { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); }
.contact-form .form-note a { color: var(--gold); }

.status-message {
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
}
.status-message strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.1rem; }
.status-message.success { border-color: var(--gold-dim); background: var(--gold-wash); }
.status-message.error { border-color: rgba(220, 90, 90, 0.5); background: rgba(220, 90, 90, 0.08); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .contact-form { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Legal / content pages
   ========================================================================== */
.page-header { padding-block: var(--space-7) var(--space-4); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--muted); margin-bottom: var(--space-3);
  transition: color var(--dur) var(--ease);
}
.back-link:hover { color: var(--gold); }
.legal-content { display: grid; gap: var(--space-2); padding-bottom: var(--space-6); max-width: 68ch; }
.legal-content h2 { font-size: 1.3rem; margin-top: var(--space-3); }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding-block: var(--space-5) var(--space-4); }
.footer-top { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.footer-brand img { height: 26px; margin-bottom: var(--space-2); }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: 0.9rem; }
.footer-cols { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-2); }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap;
  padding-top: var(--space-3); border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted-2);
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--gold); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ==========================================================================
   Standalone page (e.g. live.html) — no header/nav, just logo + content
   ========================================================================== */
.standalone {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5) var(--space-3) var(--space-4);
}
.standalone-logo { display: inline-flex; margin-bottom: var(--space-2); }
.standalone-logo img { height: 40px; width: auto; }
.standalone-tagline {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  max-width: 440px;
  margin-bottom: var(--space-5);
}
.standalone-head { text-align: center; max-width: 640px; margin-bottom: var(--space-4); }
.standalone-main { width: 100%; max-width: 960px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.standalone-footer {
  margin-top: var(--space-5);
  display: flex; gap: var(--space-2);
  font-size: 0.8rem; color: var(--muted-2);
}
.standalone-footer a { color: var(--muted-2); transition: color var(--dur) var(--ease); }
.standalone-footer a:hover { color: var(--gold); }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.stream-offline {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-4);
  color: var(--muted);
  background: radial-gradient(120% 120% at 50% 0%, var(--gold-wash), transparent 60%), var(--bg-elevated);
}
.stream-offline .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--gold);
}
.stream-offline .icon svg { width: 24px; height: 24px; }
.stream-offline h2 { font-size: 1.3rem; }
.stream-offline .stream-refresh-hint { font-size: 0.82rem; color: var(--muted-2); margin-top: -6px; }

.stream[data-status="live"] .stream-offline { display: none; }
.stream[data-status="offline"] .stream-live { display: none; }
