/* =========================================
   BASE & RESET
   ========================================= */

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

:root {
  --bg:             #18181b;
  --bg-raised:      #1e1e22;
  --bg-deep:        #0f0f11;
  --bg-card:        #1e1e22;
  --bg-surface:     #1e1e22;
  --border:         rgba(232,221,208,0.07);
  --border-subtle:  rgba(232,221,208,0.07);
  --text-primary:   #e8ddd0;
  --text-secondary: rgba(232,221,208,0.6);
  --text-muted:     #b8a898;
  --text-dim:       rgba(232,221,208,0.4);
  --gold:           #b8a898;
  --navy:           #18181b;
  --radius:         4px;
  --radius-sm:      2px;
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.5);
  --font-heading:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --font-sans:      'Inter', system-ui, sans-serif;
  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --accent:         #b8a898;
  --accent-hover:   #e8ddd0;
  --accent-dim:     rgba(232,221,208,0.06);
  --accent-border:  rgba(232,221,208,0.15);
  --accent-light:   rgba(232,221,208,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* =========================================
   TYPOGRAPHY
   ========================================= */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.body-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-dim);
}

.body-text + .body-text { margin-top: 18px; }

/* =========================================
   REVEAL ANIMATION
   ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* =========================================
   BUTTONS
   ========================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 2px;
  transition: opacity 0.2s,
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid rgba(232,221,208,0.2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(232,221,208,0.4);
  background: rgba(232,221,208,0.05);
  transform: translateY(-2px);
}

.btn-ghost:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 3px;
}

/* =========================================
   NAV
   ========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(24,24,27,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav.scrolled .nav-logo { color: var(--text-primary); }
.nav.scrolled .nav-link { color: var(--text-muted); }
.nav.scrolled .nav-link:hover { color: var(--text-primary); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover { color: var(--text-primary); }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(232,221,208,0.2);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: rgba(232,221,208,0.4);
  background: rgba(232,221,208,0.05);
}

/* =========================================
   HERO
   ========================================= */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hero-left {
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 140px 72px 100px;
  position: relative;
  overflow: hidden;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-dim);
  margin-bottom: 48px;
  max-width: 400px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  padding: 60px 40px 0;
}

/* =========================================
   STATS BAR
   ========================================= */

.stats-bar {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 24px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 32px 0;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

/* =========================================
   ADVISOR
   ========================================= */

.advisor {
  padding: 140px 0;
  background: var(--bg);
}

.advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: center;
}

.advisor-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}

.advisor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.advisor-text h2 {
  margin-bottom: 28px;
}

/* =========================================
   RESULTS
   ========================================= */

.results {
  padding: 140px 0;
  background: var(--bg-raised);
}

.results-header {
  margin-bottom: 80px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.result-card {
  padding: 52px 36px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}

.result-card:last-child { border-right: none; }

.result-card:hover {
  background: rgba(232,221,208,0.02);
}

.result-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  display: block;
}

.result-card h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.result-card p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Projektsalg strip */
.results-specialization {
  margin-top: 1px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.results-specialization-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.results-specialization-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--text-primary);
}

.results-specialization-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  text-align: right;
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials {
  padding: 140px 0;
  background: var(--bg);
}

.testimonial-slider {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-track {
  position: relative;
  min-height: 260px;
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: fadeInSlide 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide.active {
  display: flex;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--text-muted);
  opacity: 0.2;
  margin-bottom: 16px;
  font-weight: 300;
  font-style: italic;
}

.testimonial-slide blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.875rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 40px;
  padding: 0 12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.author-name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-primary);
}

.author-detail {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-muted);
}

.author-stars {
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.testimonial-btn:hover {
  border-color: rgba(232,221,208,0.3);
  color: var(--text-primary);
  transform: scale(1.06);
}

.testimonial-btn:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 2px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232,221,208,0.15);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.dot.active {
  background: var(--text-muted);
  width: 20px;
  border-radius: 2px;
}

/* =========================================
   ATMOSPHERE
   ========================================= */

.atmosphere {
  position: relative;
}

.atmosphere-photo-wrap {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.atmosphere-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.2);
}

.atmosphere-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atmosphere-content {
  text-align: center;
  max-width: 680px;
  padding: 0 40px;
}

.atmosphere-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.atmosphere-attribution {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* =========================================
   CONTACT
   ========================================= */

.contact {
  padding: 140px 0;
  background: var(--bg-raised);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 96px;
  align-items: start;
}

.contact-photo {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

.contact-text h2 { margin-bottom: 24px; }
.contact-text .body-text { margin-bottom: 0; }

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, transform 0.2s;
}

.contact-link:hover {
  border-color: rgba(232,221,208,0.2);
  transform: translateX(4px);
}

.contact-link:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 2px;
}

.contact-link-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,221,208,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.contact-link-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 3px;
  letter-spacing: 0.05em;
}

.contact-link-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--text-primary);
}

/* FORM */

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(184,168,152,0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(232,221,208,0.2);
}

.btn-submit {
  background: var(--text-primary);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 2px;
  padding: 16px 36px;
  cursor: pointer;
  transition: opacity 0.2s,
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  align-self: flex-start;
}

.btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-submit:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 3px;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-primary);
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-card:nth-child(2) { border-right: none; }
  .result-card:nth-child(1),
  .result-card:nth-child(2) { border-bottom: 1px solid var(--border-subtle); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left { padding: 120px 40px 72px; }
  .hero-right { height: 520px; }

  .advisor-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .advisor-photo-wrap {
    aspect-ratio: 4/3;
    max-height: 420px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .hero-left { padding: 100px 24px 64px; }
  .stats-inner { padding: 0 24px; flex-direction: column; }
  .stat-divider { width: 100%; height: 1px; margin: 0; }
  .advisor, .results, .testimonials, .contact { padding: 100px 0; }
  .results-grid { grid-template-columns: 1fr; }
  .result-card { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .result-card:last-child { border-bottom: none; }
  .contact-form { padding: 28px 20px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .testimonial-slide blockquote { font-size: 1.2rem; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .results-header { margin-bottom: 48px; }
  .atmosphere-photo-wrap { height: 440px; }
}
