/* ==========================================================================
   SHELL — Global tokens, reset, body, navigation, footer.
   Loaded BEFORE gruppe.css. Defines all CSS custom properties consumed by
   the page-scoped stylesheet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   TOKENS — Single source of truth for colour, type, spacing, motion.
   -------------------------------------------------------------------------- */

:root {
  --color-gold:         #eda323;
  --color-gold-deep:    #b45309;
  --color-bg:           #0a0a0a;
  --color-text:         #ffffff;
  --color-muted:        #d0d0d0;
  --color-surface:      rgba(255, 255, 255, 0.04);
  --color-border-gold:  rgba(237, 163, 35, 0.20);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --nav-height:    72px;
  --container-pad: 32px;

  --t-fast: 0.25s ease;
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  :root {
    --nav-height:    60px;
    --container-pad: 20px;
  }
}

/* --------------------------------------------------------------------------
   RESET — Box-sizing, margin/padding zero, sensible defaults for media.
   -------------------------------------------------------------------------- */

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

html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

a { color: inherit; }

ul { list-style: none; }

/* --------------------------------------------------------------------------
   SITE NAV — Fixed top bar with brand, anchor menu, language switcher.
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav__inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}

.site-nav__brand:hover { color: var(--color-gold); }

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__menu a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--t-fast);
}

.site-nav__menu a:hover { color: var(--color-gold); }

.site-nav__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.site-nav__lang button {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 10px;
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
}

.site-nav__lang button:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav__lang button.is-active {
  color: #000;
  background: var(--color-gold);
}

@media (max-width: 768px) {
  .site-nav__menu { display: none; }
  .site-nav__brand { font-size: 12px; }
  .site-nav__lang button { padding: 5px 8px; font-size: 10px; }
}

/* --------------------------------------------------------------------------
   FOCUS — Global keyboard focus ring (page-scoped variant lives in gruppe.css).
   -------------------------------------------------------------------------- */

.site-nav :focus-visible,
.site-footer :focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   FOOTER — Bottom bar with brand, copyright, and contact link.
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.4);
  padding: 28px 0;
}

.site-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__copy { margin: 0; }

.site-footer__tagline {
  margin: 0;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
