@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');

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

:root {
  --bg-primary: #0d0d0d;
  --text-white: #ffffff;
  --text-body: rgba(255,255,255,0.75);
  --text-muted: rgba(255,255,255,0.85);
  --text-label: rgba(255,255,255,0.4);
  --border-soft: rgba(255,255,255,0.07);
  --border-card: rgba(255,255,255,0.08);
  --border-ghost: rgba(255,255,255,0.18);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 3rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-logo {
  flex-shrink: 0;
  z-index: 2;
}

.header-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
}

.header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.8rem;
}

.header-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--text-white);
}

.btn-book {
  flex-shrink: 0;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  background: var(--text-white);
  color: #000;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.08);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0d0d0d;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav a:hover { color: var(--text-white); }

.mobile-nav .btn-primary {
  color: #000;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  background: var(--text-white);
  color: #000;
  padding: 16px 44px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  min-height: 44px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.1);
}

.btn-ghost {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  color: rgba(255,255,255,0.65);
  padding: 14px 36px;
  border-radius: 8px;
  border: 1px solid var(--border-ghost);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.3s ease, color 0.3s ease;
  min-height: 44px;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
  color: var(--text-white);
}

/* ── LABELS ── */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-label);
  margin-bottom: 1.2rem;
}

/* ── SECTION BASE ── */
.section {
  position: relative;
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.section-border {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── SECTION BACKGROUNDS (all dark) ── */
.bg-hero {
  background: #0d0d0d;
  background-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.bg-problem {
  background: linear-gradient(180deg, #0d0d0d 0%, #111111 100%);
}

.bg-steps {
  background: linear-gradient(180deg, #111111 0%, #0d0d0d 100%);
}

.bg-features {
  background: linear-gradient(180deg, #0d0d0d 0%, #101010 100%);
}

.bg-results {
  background: linear-gradient(180deg, #101010 0%, #0d0d0d 100%);
}

.bg-cta {
  background: linear-gradient(180deg, #0d0d0d 0%, #131313 100%);
}

/* ── HEADINGS ── */
.heading-lg {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  color: var(--text-white);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.heading-md {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-white);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
}

.hero-content {
  max-width: 960px;
  width: 100%;
}

.hero .heading-lg {
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 2.4rem;
  line-height: 1.75;
}

.hero .btn-primary {
  margin-bottom: 3.5rem;
}

/* ── LOGO ROW ── */
.logo-row {
  text-align: center;
}

.logo-row-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.logo-row-images {
  display: none;
}

.logo-row-images a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo-row-images a:hover { opacity: 0.85; }

.logo-row-images img {
  height: 45px;
  max-width: 240px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

/* ── LOGO MARQUEE ── */
.logo-marquee {
  display: block;
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.logo-marquee-track img {
  width: 140px;
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PROBLEM SECTION (split layout) ── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
  max-width: 1060px;
  margin: 0 auto;
}

.problem-content {}

.problem-text {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.problem-closing {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.4rem;
}

.problem-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  min-height: 420px;
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  position: absolute;
  top: 0;
  left: 0;
}

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin: 3rem auto;
  max-width: 1060px;
  text-align: left;
}

.step-card { position: relative; }

.step-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 18px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.03);
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 0.7rem;
}

.step-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
}

.step-connector {
  display: none;
  position: absolute;
  top: 22px;
  right: -1.2rem;
  width: 2.4rem;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

@media (min-width: 769px) {
  .step-card:not(:last-child) .step-connector { display: block; }
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 3rem auto;
  max-width: 1060px;
}

.feature-card {
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, background 0.3s ease;
  text-align: left;
}

.feature-card:hover {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 17px;
  color: rgba(255,255,255,0.5);
}

.feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── RESULTS CAROUSEL ── */
.carousel-wrapper {
  position: relative;
  max-width: 1060px;
  margin: 3rem auto;
}

.carousel-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.carousel-track::-webkit-scrollbar { display: none; }

.result-card {
  flex: 0 0 calc(100% / 3 - 1rem);
  min-width: 280px;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2.5rem;
  background: rgba(255,255,255,0.03);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
}

.result-branch {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-label);
  margin-bottom: 1.6rem;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  text-align: left;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-body);
  margin-top: 0.35rem;
  line-height: 1.3;
}

.result-quote {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.2rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text-white);
  background: rgba(255,255,255,0.08);
}

.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
}

.cta-section .heading-lg { margin-bottom: 1.2rem; }

.cta-text {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.8rem 3rem 2rem;
  background: #0d0d0d;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover { color: var(--text-white); }

.footer-contact { text-align: right; }

.footer-contact a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 0.3rem;
}

.footer-contact a:hover { color: var(--text-white); }

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── PAGE CONTENT (om oss, kontakt) ── */
.page-section {
  padding-top: calc(5rem + 80px);
  padding-bottom: 4rem;
}

.page-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--text-white);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.page-text {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 1.6rem;
}

.page-text:last-of-type { margin-bottom: 2.4rem; }

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
  text-align: left;
}

.contact-info { padding-top: 0.5rem; }

.contact-info-item { margin-bottom: 1rem; }

.contact-info-item a {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-item a:hover { color: var(--text-white); }

.form-group { margin-bottom: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-white);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ── RESULTS SUB-HEADING (om oss) ── */
.results-subheading {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .fade-up { transition: none; }

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

.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.9s ease forwards;
}

.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.25s; }
.hero-anim-3 { animation-delay: 0.4s; }
.hero-anim-4 { animation-delay: 0.55s; }
.hero-anim-5 { animation-delay: 0.7s; }

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }
.stagger-5 { transition-delay: 0.45s; }
.stagger-6 { transition-delay: 0.55s; }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (900px)
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .result-card { flex: 0 0 calc(50% - 0.7rem); }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .problem-image { max-width: 500px; margin: 0 auto; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (768px)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header — logo left, hamburger right, no book button */
  .site-header { padding: 0.8rem 1.2rem; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .btn-book { display: none; }
  .header-logo img { height: 30px; }

  /* Sections */
  .section { padding: 4rem 1.5rem; }

  /* Hero */
  .hero { min-height: auto; padding-top: 6rem; padding-bottom: 4rem; }
  .hero-text { font-size: 16px; padding: 0 0.5rem; }
  .hero .btn-primary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 16px 20px;
  }

  /* Problem */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .problem-image { order: 1; max-width: 100%; min-height: 260px; }
  .problem-content { order: 0; }
  .problem-text, .problem-closing { font-size: 16px; }

  /* Steps — centered text */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-card {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
  }
  .step-card:first-child { border-top: none; }
  .step-connector { display: none !important; }
  .step-icon { margin: 0 auto 1.2rem; }

  /* Features — centered text */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .feature-card { padding: 1.5rem; text-align: center; }
  .feature-icon { margin: 0 auto 1rem; }

  /* Results carousel */
  .result-card {
    flex: 0 0 85vw;
    min-width: 0;
    scroll-snap-align: center;
  }
  .stat-number { font-size: 2rem; }
  .carousel-arrow { display: none; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .footer-contact { text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .site-footer { padding: 2rem 1.5rem; }

  /* CTA */
  .cta-section .btn-primary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* Page sections */
  .page-section { padding-top: calc(4rem + 60px); }
  .page-text { font-size: 16px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (480px)
   ══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero .heading-lg { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .heading-md { font-size: clamp(1.5rem, 5vw, 2rem); }
  .result-card { flex: 0 0 92vw; }
  .logo-row-images img { height: 20px; max-width: 90px; }
  .hero-text { font-size: 15px; }
  .problem-text, .problem-closing { font-size: 15px; }
}
