/* ==========================================================================
   LUMBRE VISUALS — Design System
   Dunkles, cinematisches Theme. "Lumbre" = Glut / Feuerschein.
   ========================================================================== */

:root {
  --bg:      #0d0b09;
  --bg2:     #14110e;
  --bg3:     #1c1814;
  --border:  rgba(255, 244, 230, 0.09);
  --border2: rgba(255, 244, 230, 0.16);

  --text:  #f6f1e9;
  --text2: #cfc6b8;
  --text3: #9a917f;
  --text4: #6d6557;

  --ember:   #ff8a3d;
  --ember2:  #ff5f2e;
  --ember-soft: rgba(255, 138, 61, 0.12);
  --fire-grad: linear-gradient(120deg, #ffb45e 0%, #ff8a3d 45%, #ff5f2e 100%);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(255, 138, 61, 0.35); }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--text);
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

.display em, .headline em {
  font-style: italic;
  font-weight: 420;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text2);
  line-height: 1.75;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 550;
  padding: 0.85rem 1.9rem;
  border-radius: 980px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, border-color 0.25s, color 0.25s;
}

.btn-fire {
  background: var(--fire-grad);
  color: #1a0d04;
  box-shadow: 0 4px 24px rgba(255, 122, 51, 0.28);
}
.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 122, 51, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover {
  border-color: var(--ember);
  color: var(--ember);
  transform: translateY(-2px);
}

.btn-small { padding: 0.55rem 1.3rem; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13, 11, 9, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.nav-logo svg { width: 20px; height: 20px; }
.nav-logo em {
  font-style: italic;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 480;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* --------------------------------------------------------------------------
   Layout-Bausteine
   -------------------------------------------------------------------------- */

main { padding-top: var(--nav-h); }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem;
}

.section-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .headline { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Scroll-Reveal (nur aktiv, wenn JS läuft — sonst alles sichtbar)
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  padding-bottom: 3.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.footer-brand em {
  font-style: italic;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-tagline { font-size: 0.88rem; color: var(--text3); max-width: 260px; }

.footer-cols { display: flex; gap: 4.5rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; min-width: 130px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text4);
  margin-bottom: 0.4rem;
}
.footer-col a, .footer-col span {
  font-size: 0.88rem;
  color: var(--text3);
  text-decoration: none;
}
.footer-col a:hover { color: var(--ember); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text4);
}
.footer-bottom a { color: var(--text4); text-decoration: none; }
.footer-bottom a:hover { color: var(--text2); }
.footer-legal { display: flex; gap: 1.5rem; }

/* --------------------------------------------------------------------------
   Karten & Grids (seitenübergreifend genutzt)
   -------------------------------------------------------------------------- */

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.card:hover { border-color: var(--border2); transform: translateY(-4px); }

.card-img { overflow: hidden; background: var(--bg3); }
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card-img img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   Formulare
   -------------------------------------------------------------------------- */

.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--text2);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text4); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .section { padding: 4.5rem 1.25rem; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(13, 11, 9, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-open .nav-links {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
  }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-cols { gap: 2.5rem; }
}
