/* ============================================================
   MOONINK — Vollständiges Design System
   Dark Luxury · Fine Line Portfolio · 2026
   ============================================================ */

/* ── Variablen ── */
:root {
  --bg:         #09090A;
  --bg-card:    #111113;
  --bg-hover:   #17171A;
  --border:     #1F1F23;
  --border-l:   #2A2A30;

  --gold:       #C9A84C;
  --gold-d:     #A8893A;
  --gold-glow:  rgba(201, 168, 76, 0.18);
  --gold-soft:  rgba(201, 168, 76, 0.08);

  --text:       #F0ECE6;
  --text-2:     #96908A;
  --text-3:     #555050;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   26px;
  --r-pill: 100px;

  --shadow: 0 2px 24px rgba(0,0,0,0.5);
  --glow:   0 0 40px rgba(201,168,76,0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Fokus ── */
*:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }

/* ── Skip link ── */
.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; width: auto; height: auto;
  background: var(--gold); color: #09090A;
  padding: 10px 20px; font-size: 0.85rem; z-index: 9999;
}

/* ── Container ── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

/* ── Navigation ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem clamp(1.25rem, 5vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 350ms ease, border-color 350ms ease,
              backdrop-filter 350ms ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(9, 9, 10, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 1.25rem; letter-spacing: 0.12em; color: var(--text);
  transition: color 200ms;
}
.nav-logo:hover { color: var(--gold); }

.nav-logo svg { flex-shrink: 0; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-2); transition: color 200ms;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
  padding: 9px 20px; border-radius: var(--r-pill);
  transition: background 200ms, border-color 200ms, color 200ms;
}
.nav-cta:hover { background: var(--gold-soft); border-color: var(--gold); }

/* Hamburger */
#nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; height: 32px; align-items: center; justify-content: center;
  padding: 4px;
}
.bar {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}
#nav-toggle.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#nav-toggle.open .bar:nth-child(2) { opacity: 0; }
#nav-toggle.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(9,9,10,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
}
#mobile-menu.open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-menu-links {
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem; text-align: center;
}
.mobile-menu-links a {
  font-family: var(--serif); font-style: italic;
  font-size: 2rem; color: var(--text-2);
  transition: color 200ms;
}
.mobile-menu-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  position: relative; overflow: hidden;
}

/* Subtile Hintergrundglow */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo-mark {
  margin-bottom: 2rem;
  animation: fade-scale 1s var(--ease) 0.1s both;
}

.hero-title {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 1.5rem;
  animation: ink-reveal 1.4s var(--ease) 0.3s both;
}

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-2); line-height: 1.75;
  max-width: 500px; margin: 0 auto 2.5rem;
  animation: fade-up 0.8s ease 0.9s both;
}

.hero-buttons {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  animation: fade-up 0.7s ease 1.1s both;
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  animation: fade-up 0.7s ease 1.4s both;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll-label {
  font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-3);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--r-pill);
  transition: all 200ms var(--ease-std);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: #09090A; border: none;
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.btn-primary:hover {
  background: #D9B85A;
  box-shadow: 0 6px 32px rgba(201,168,76,0.4);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-l);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-soft);
}

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

.btn svg { flex-shrink: 0; }

/* ── Sections ── */
section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section-label {
  display: block; font-size: 0.6rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1; color: var(--text);
}
.section-desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text-2); line-height: 1.8;
  max-width: 580px; margin-top: 1rem;
}

/* Divider */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--border-l) 30%, var(--border-l) 70%, transparent);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  margin-top: 3rem;
}

.about-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.about-photo::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.08);
  pointer-events: none;
}

.about-photo-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
}

.about-text p {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-2); line-height: 1.85;
  margin-bottom: 1.25rem;
}
.about-text p strong { color: var(--text); font-weight: 400; }

.about-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 2rem;
}
.about-tag {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.3);
  padding: 5px 14px; border-radius: var(--r-pill);
}

/* ── Style Karten ── */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-top: 3rem;
}
.style-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  transition: border-color 250ms, box-shadow 250ms, transform 250ms var(--ease);
}
.style-card:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.style-card-icon {
  width: 40px; height: 40px;
  background: var(--gold-soft);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.style-card h3 {
  font-size: 0.95rem; font-weight: 500;
  color: var(--text); margin-bottom: 0.5rem;
}
.style-card p {
  font-size: 0.82rem; color: var(--text-2); line-height: 1.7;
}

/* ── Galerie ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 3rem;
}
.gallery-card {
  border-radius: var(--r-md); overflow: hidden;
  position: relative; cursor: pointer;
  aspect-ratio: 3/4;
  transition: transform 400ms var(--ease), box-shadow 400ms ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }

.gallery-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.gallery-ph-1 { background: linear-gradient(145deg, #14130F, #1A1812); }
.gallery-ph-2 { background: linear-gradient(145deg, #110F14, #181520); }
.gallery-ph-3 { background: linear-gradient(145deg, #13120F, #1C1A14); }
.gallery-ph-4 { background: linear-gradient(145deg, #0F1213, #141A1C); }
.gallery-ph-5 { background: linear-gradient(145deg, #12110E, #1A1915); }
.gallery-ph-6 { background: linear-gradient(145deg, #11100F, #1C1A18); }

.gallery-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 40% 35%, rgba(201,168,76,0.07) 0%, transparent 60%);
}

.gallery-ph-label {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-3); text-align: center;
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(9,9,10,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 250ms;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

/* ── Ablauf ── */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-top: 3rem;
  position: relative;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 2.2rem; left: calc(10% + 8px); right: calc(10% + 8px);
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(201,168,76,0.2) 50%, var(--gold));
  opacity: 0.3;
}

.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1rem;
  padding: 1.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 250ms, transform 250ms var(--ease);
}
.step:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-2px); }

.step-num {
  font-family: var(--serif); font-size: 2rem; font-weight: 300; font-style: italic;
  color: var(--gold); line-height: 1;
}
.step-title {
  font-size: 0.85rem; font-weight: 500; color: var(--text);
}
.step-desc {
  font-size: 0.78rem; color: var(--text-2); line-height: 1.65;
}

/* ── Anfrage / CTA ── */
.anfrage-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-top: 0;
  position: relative; overflow: hidden;
}
.anfrage-box::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.anfrage-title {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text); line-height: 1.1; margin-bottom: 0.75rem;
}
.anfrage-sub {
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  color: var(--text-2); margin-bottom: 2.5rem; line-height: 1.7;
}
.anfrage-buttons {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* ── Hinweis ── */
.hinweis {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--r-md);
  padding: 1.5rem 2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex; gap: 1rem; align-items: flex-start;
}
.hinweis-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.hinweis p {
  font-size: 0.85rem; color: var(--text-2); line-height: 1.7;
}
.hinweis p strong { color: var(--text); font-weight: 500; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-top: clamp(4rem, 8vw, 6rem);
}
.footer-inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand-name {
  font-family: var(--serif); font-style: italic;
  font-size: 1.2rem; color: var(--text-2);
}
.footer-location {
  font-size: 0.72rem; color: var(--text-3);
  letter-spacing: 0.08em; margin-top: 4px;
}
.footer-links {
  display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center;
}
.footer-link {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-3); transition: color 150ms;
}
.footer-link:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.62rem; color: var(--text-3); letter-spacing: 0.1em;
  margin-top: 2rem; text-align: center;
}

/* ── Animationen ── */
@keyframes ink-reveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0);   opacity: 1; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-scale {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  #nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4/3; max-width: 360px; margin: 0 auto; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .steps { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .anfrage-buttons { flex-direction: column; align-items: stretch; }
  .anfrage-buttons .btn { justify-content: center; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-title { animation: none !important; opacity: 1 !important; clip-path: none !important; }
}
