/* ─── SHARED: joe-orszulik.de — variables, nav, footer, theme toggle, skip link ─── */
:root {
  --dark: #26424D;
  --dark-mid: #2E4E5A;
  --dark-light: #3A5D6B;
  --sand: #D8C8B4;
  --gold: #E2BC7B;
  --gold-light: #F0D5A3;
  --warm-white: #FAF6EF;
  --warm-white-hero: #FAF6EF;
  --sage: #8FB9A6;
  --text-light: rgba(250,246,239,0.82);
  --text-light-hero: rgba(250,246,239,0.82);
  --radius: 16px;
  --radius-sm: 10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--warm-white); }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--dark);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 300;
}
.skip-link:focus { left: 0; }

/* ─── NAVIGATION (sticky variant — used on all pages except the homepage,
   which overrides with its own fixed/scroll-reactive nav) ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  padding: 18px max(5%, calc((100% - 1100px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(35,60,70,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,188,123,0.12);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 32px; filter: brightness(0) invert(0.92); }
[data-theme="light"] .nav-logo img { filter: none; }
.nav-logo-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--warm-white); }
.nav-logo-sub { font-size: 0.62rem; color: var(--sand); letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--sand); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--warm-white); }
.nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--dark) !important; padding: 9px 20px; border-radius: 50px; font-weight: 600 !important; font-size: 0.82rem !important; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 101; }
.nav-burger span { width: 24px; height: 2px; background: var(--warm-white); border-radius: 2px; transition: 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px max(5%, calc((100% - 1100px) / 2)) 24px;
    background: var(--dark-mid);
    border-bottom: 1px solid rgba(226,188,123,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-burger { display: flex; }
}

/* ─── FOOTER (minimal single-row variant — used on all pages except the
   homepage, which overrides with its own richer multi-column footer) ─── */
footer { background: #16262D; padding: 40px max(5%, calc((100% - 1100px) / 2)); border-top: 1px solid rgba(216,200,180,0.08); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; color: rgba(216,200,180,0.5); }
footer a { color: var(--sand); text-decoration: none; }
footer a:hover { color: var(--warm-white); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ─── THEME TOGGLE ─── */
.theme-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-light);
  border: 1px solid rgba(216,200,180,0.25);
  color: var(--sand);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.theme-fab:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ─── LIGHT MODE ─── */
[data-theme="light"] {
  --dark: #FAF6EE; --dark-mid: #F2EBE0; --dark-light: #E8E0D2;
  --sand: #8A7A6A; --gold: #AE7E37; --gold-light: #C89A4B;
  --warm-white: #1A2B2E; --warm-white-hero: #FAF6EF; --sage: #4A7A6A;
  --text-light: rgba(26,43,46,0.68); --text-light-hero: rgba(250,246,239,0.82); --footer-bg: #EDE6D9;
}
[data-theme="light"] body { background: var(--dark); color: var(--warm-white); }
[data-theme="light"] nav { background: rgba(250,246,239,0.97); border-bottom: 1px solid rgba(174,126,55,0.2); }
[data-theme="light"] .nav-cta { background: var(--gold); color: #fff !important; }
[data-theme="light"] .nav-cta:hover { background: var(--gold-light); }
[data-theme="light"] footer { background: var(--footer-bg, #EDE6D9); border-color: rgba(26,43,46,0.1); color: rgba(26,43,46,0.68); }
[data-theme="light"] .theme-fab { background: var(--dark-light); border-color: rgba(26,43,46,0.15); }
[data-theme="light"] .theme-fab:hover { border-color: var(--gold); color: var(--gold); }
