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

:root {
  --navy:         #0F1C15;
  --beige:        #F2EDE3;
  --gold:         #A87556;
  --gold-light:   #C08D6E;
  --rose:         #9E7868;
  --gray-beige:   #B8AFA0;
  --muted:        #3A4D40;
  --border:       #DDD8CC;
  --light-bg:     #F7F3EB;
  --white:        #ffffff;
  --tier-bronze:  #9E6B3A;
  --tier-silver:  #7A8E88;
  --tier-gold:    #9A841E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--light-bg);
  color: var(--navy);
  line-height: 1.75;
  font-size: 16px;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 3rem;
  padding-left: max(3rem, env(safe-area-inset-left));
  padding-right: max(3rem, env(safe-area-inset-right));
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(15,28,21,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--beige);
  letter-spacing: 0.04em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  color: var(--gray-beige);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta-item { display: none; }

.nav-cta {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(171,132,91,0.55);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--beige);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* stable small viewport height — excludes browser chrome on iOS */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-video.active { opacity: 0.48; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15,28,21,0.5) 0%,
    rgba(15,28,21,0.65) 55%,
    rgba(15,28,21,0.9) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 1100px;
}
.hero-brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--beige);
  margin-bottom: 1.2rem;
  line-height: 1.05;
}
.hero-typing-wrap {
  height: 2rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-typing {
  font-size: clamp(0.78rem, 1.3vw, 0.94rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 400;
}
.hero-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--gold-light);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: rgba(242, 237, 227, 0.88);
  font-weight: 400;
  line-height: 1.15;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}
.hero-sub {
  font-size: clamp(0.92rem, 1.7vw, 1.06rem);
  color: var(--gray-beige);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 2.4rem;
  line-height: 1.85;
  opacity: 0.88;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-beige);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.4;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gray-beige);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── PAGE HERO (sub-pages) ───────────────────── */
.page-hero {
  background: var(--navy);
  padding: 9rem 1.5rem 5rem;
  text-align: center;
}
.page-hero .section-label { color: var(--rose); margin-bottom: 1rem; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--beige);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-hero p {
  color: var(--gray-beige);
  font-size: 1.02rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: rgba(168,117,86,0.72);
  color: var(--beige);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(168,117,86,0.4);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: rgba(168,117,86,0.88); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid rgba(171,132,91,0.65);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-outline:hover { background: var(--gold); color: var(--white); border-color: var(--gold); transform: translateY(-1px); }

.btn-outline-light {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid rgba(237,234,226,0.35);
  color: var(--beige);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(237,234,226,0.6); transform: translateY(-1px); }

/* ── SHARED ───────────────────────────────────── */
section { padding: 7rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.69rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  color: var(--navy);
}
.lead {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.85;
}

/* ── SERVICES ─────────────────────────────────── */
#services { background: var(--light-bg); }

.value-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.insight-box {
  display: flex;
  align-items: flex-start;
  gap: 1.7rem;
  margin-top: 2.2rem;
  padding: 1.6rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}
.insight-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.insight-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.55;
  margin: 0 0 0.5rem;
}
.insight-title strong {
  font-style: normal;
  font-weight: 600;
}
.insight-body {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.value-icon {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem 1.4rem;
}
.value-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.55rem;
}
.value-item p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ── PROCESS ──────────────────────────────────── */
#process { background: var(--navy); }
#process h2 { color: var(--beige); }
#process .section-label { color: var(--rose); }
#process .lead { color: var(--gray-beige); max-width: 620px; }

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: start;
  margin-top: 4rem;
  gap: 0;
}
.tier-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 88px;
}
.tier-connector svg { opacity: 0.28; }
.tier-card { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.tier-monitor {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  transition: transform 0.28s ease, filter 0.28s ease;
}
.tier-card:hover .tier-monitor { transform: translateY(-5px); filter: brightness(1.1); }
.tier-badge {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 2px;
}
.tier-card--bronze .tier-badge { color: var(--tier-bronze); border: 1px solid rgba(158,107,58,0.45); background: rgba(158,107,58,0.07); }
.tier-card--silver .tier-badge { color: var(--tier-silver); border: 1px solid rgba(122,142,136,0.45); background: rgba(122,142,136,0.07); }
.tier-card--gold   .tier-badge { color: var(--tier-gold);   border: 1px solid rgba(154,132,30,0.45);  background: rgba(154,132,30,0.07); }
.tier-info { text-align: center; max-width: 260px; }
.tier-info h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 400; color: var(--beige); margin-bottom: 0.3rem; }
.tier-info h4 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-beige); margin-bottom: 0.9rem; }
.tier-info p { font-size: 0.855rem; color: var(--gray-beige); line-height: 1.8; }

/* ── PRICING ──────────────────────────────────── */
#pricing { background: #F3EEE5; }
#priser  { background: #F3EEE5; scroll-margin-top: 120px; padding-top: 8rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: stretch;
}
.price-card {
  background: #FFFDF8;
  border: 1px solid #DED5C8;
  border-radius: 2px;
  padding: 2.4rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(16,32,24,0.07);
}
.price-card.featured {
  background: #1F2822;
  border: 1.5px solid #1F2822;
  box-shadow: 0 24px 64px rgba(15,28,21,0.20);
  transform: translateY(-8px);
}
.featured-label {
  display: inline-block;
  background: #A96A5D;
  color: #F7F2E8;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.price-card.featured h3 { color: #F7F2E8; }
.price-card.featured .price-for { color: #D8CFC0; border-bottom-color: rgba(247,242,232,0.18); }
.price-card.featured .price-amount { color: #F7F2E8; font-size: 2.2rem; margin-top: 0.3rem; }
.price-card.featured .price-note { color: #BFB3A4; }
.price-card.featured .price-features li { color: #D8CFC0; border-bottom-color: rgba(247,242,232,0.18); }
.price-card.featured .price-features li svg { color: #C8906A; }
.price-card.featured .price-disclaimer { color: #BFB3A4; border-top-color: rgba(247,242,232,0.18); }
.price-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 400; color: #102018; margin-bottom: 0.7rem; }
.price-for { font-size: 0.84rem; color: #5F6B61; line-height: 1.65; padding-bottom: 1.2rem; border-bottom: 1px solid #E8E0D5; margin-bottom: 1.4rem; }
.price-amount { font-size: 2rem; font-weight: 300; color: #102018; letter-spacing: -0.02em; margin-bottom: 0.15rem; }
.price-amount strong { font-weight: 600; }
.price-note { font-size: 0.73rem; color: #7A867A; margin-bottom: 1.6rem; }
.price-features { list-style: none; flex: 1; margin-bottom: 1.4rem; }
.price-features li {
  font-size: 0.87rem;
  color: #102018;
  padding: 0.48rem 0;
  border-bottom: 1px solid #E8E0D5;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.price-features li:last-child { border-bottom: none; }
.price-features li svg { color: #A8795D; flex-shrink: 0; margin-top: 3px; }
.price-disclaimer { font-size: 0.73rem; color: #7A867A; line-height: 1.6; padding-top: 1rem; border-top: 1px solid #E8E0D5; margin-bottom: 1.6rem; }

/* Pricing button overrides */
.price-card .btn-outline {
  border: 1px solid #A8795D;
  color: #8E634A;
  background: transparent;
}
.price-card .btn-outline:hover { background: #FFF9F1; color: #8E634A; transform: none; }
.price-card.featured .btn-primary { background: #F7F2E8; color: #1F2822; border-color: #F7F2E8; }
.price-card.featured .btn-primary:hover { background: #EDE4D8; transform: none; }

/* ── DOMAIN INFO ──────────────────────────────── */
.domain-box {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  background: #FFFDF8;
  border: 1px solid #DED5C8;
  border-left: 3px solid #A8795D;
  border-radius: 2px;
  padding: 2rem 2.4rem;
  margin-top: 2.8rem;
}
.domain-box-icon { flex-shrink: 0; color: #A8795D; width: 28px; height: 28px; margin-top: 0.15rem; }
.domain-box h4 { font-size: 1rem; font-weight: 600; color: #102018; margin-bottom: 0.55rem; }
.domain-box p { font-size: 0.88rem; color: #5F6B61; line-height: 1.8; margin: 0; }

/* ── HOW IT WORKS (priser.html) ───────────────── */
#how-it-works { background: var(--navy); }
#how-it-works h2 { color: var(--beige); }
#how-it-works .section-label { color: var(--rose); }
#how-it-works .lead { color: var(--gray-beige); max-width: 580px; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.8rem;
  margin-top: 3.5rem;
}
.process-step { display: flex; flex-direction: column; gap: 0.9rem; }
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: rgba(168,117,86,0.38);
  line-height: 1;
}
.process-step h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--beige);
  margin: 0;
}
.process-step p {
  font-size: 0.845rem;
  color: var(--gray-beige);
  line-height: 1.8;
  margin: 0;
}

/* ── HANDOVER ─────────────────────────────────── */
#handover { background: var(--light-bg); }

.assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.assurance-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2.6rem 2.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: box-shadow 0.24s ease;
}
.assurance-card:hover { box-shadow: 0 6px 24px rgba(15,28,21,0.07); }
.assurance-icon { width: 42px; height: 42px; color: var(--gold); flex-shrink: 0; }
.assurance-card h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin: 0; }
.assurance-card p { font-size: 0.895rem; color: var(--muted); line-height: 1.82; margin: 0; }
.assurance-note {
  margin-top: 2.5rem;
  padding: 1.3rem 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(168,117,86,0.06);
  font-size: 0.96rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
}

/* ── ABOUT ────────────────────────────────────── */
#about { background: var(--beige); }
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 5rem; align-items: center; }
.about-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: 4px; display: block; }
.about-text h2 { margin-bottom: 1.4rem; }
.about-text p { margin-bottom: 1.1rem; color: var(--muted); }
.about-text p:last-of-type { margin-bottom: 1.6rem; }
.about-linkedin {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
  margin-bottom: 1.2rem;
}
.about-linkedin:hover { color: #0A66C2; opacity: 1; }

/* ── CONTACT ──────────────────────────────────── */
#contact { background: var(--navy); padding: 5rem 1.5rem 5.5rem; }
#contact .container { max-width: 760px; }
#contact h2 { color: var(--beige); }
#contact .section-label { color: var(--rose); }
#contact .lead { color: var(--gray-beige); }

.contact-left { margin-top: 2rem; }
.contact-left p { font-size: 0.95rem; color: var(--gray-beige); line-height: 1.85; margin-bottom: 1.5rem; }

.contact-details-inline {
  display: flex;
  gap: 2.8rem;
  margin: 0.4rem 0 1.8rem;
  flex-wrap: wrap;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.contact-detail svg { color: var(--gold); flex-shrink: 0; }
.contact-detail a { color: var(--beige); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.contact-detail a:hover { color: var(--gold); }

/* ── CONTACT FORM ─────────────────────────────── */
.contact-form { margin-top: 2rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-beige);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  color: var(--beige);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(184,175,160,0.38); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(168,117,86,0.65);
  background: rgba(255,255,255,0.07);
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B8AFA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px;
  padding-right: 2.4rem;
}
.form-group select option { background: var(--navy); color: var(--beige); }
.form-group textarea { resize: vertical; min-height: 110px; }
.contact-submit {
  display: block;
  width: 100%;
  padding: 0.9rem 2.4rem;
  background: rgba(168,117,86,0.72);
  color: var(--beige);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(168,117,86,0.4);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  margin-top: 0.4rem;
}
.contact-submit:hover { background: rgba(168,117,86,0.88); transform: translateY(-1px); }

.form-note {
  font-size: 0.78rem;
  color: var(--gray-beige);
  line-height: 1.7;
  margin-top: 0.9rem;
  opacity: 0.8;
}
.form-note a { color: var(--gold); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* ── CONTACT PAGE LAYOUT (kontakt.html) ────────── */
.contact-page-grid { margin-top: 2rem; gap: 4rem; }
.contact-page-grid .contact-lead {
  font-size: 1rem;
  color: var(--gray-beige);
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.contact-page-grid .contact-helper {
  font-size: 0.87rem;
  color: rgba(184,175,160,0.72);
  line-height: 1.82;
  margin-bottom: 2.4rem;
}
.contact-form-panel {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 3px;
  padding: 2.4rem 2.6rem 2rem;
  align-self: start;
}
.contact-form-panel .contact-form { margin-top: 0; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: #060F0A;
  color: #4A5A4A;
  text-align: center;
  padding: 2.2rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1000px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .price-card.featured { transform: none; }
}

@media (max-width: 900px) {
  .value-items { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tier-connector { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  nav {
    padding: 1.1rem 1.5rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  /*
   * Menu-open: expand the fixed nav to full screen.
   * This avoids the iOS Safari bug where position:fixed inside a fixed parent
   * creates incorrect stacking and bleed-through.
   */
  nav.menu-open {
    bottom: 0;
    background: var(--navy) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  /* Menu list fills the expanded nav using position:absolute */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
    padding-top: 5rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open a { font-size: 1.1rem; color: var(--beige); }
  .nav-cta-item { display: block; }

  section { padding: 5rem 1.3rem; }

  /* Hero video: per-video focal point on portrait screens */
  .hero-video        { object-position: center 30%; }
  .hero-video--h2    { object-position: 78% center; }
  .hero-video--h3-4  { object-position: 18% center; }

  /* Darker overlay on mobile — stable and controlled regardless of video frame */
  .hero-overlay {
    background: linear-gradient(
      160deg,
      rgba(15,28,21,0.72) 0%,
      rgba(15,28,21,0.86) 55%,
      rgba(15,28,21,0.97) 100%
    );
  }

  .contact-form-panel { padding: 1.8rem 1.4rem 1.6rem; }
  .contact-details-inline { flex-direction: column; gap: 0.8rem; margin-bottom: 1.4rem; }
  .assurance-grid { grid-template-columns: 1fr; }

  .hero-brand { font-size: clamp(1.35rem, 6.8vw, 3.4rem); white-space: nowrap; }
  .hero-title { white-space: normal; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta a { width: 100%; max-width: 260px; text-align: center; }

  /* Hero: pad bottom so content floats up from Safari UI bar */
  #hero { padding-bottom: max(3.5rem, env(safe-area-inset-bottom)); }

  /* Typing text: hide on mobile — static hero-title takes over */
  .hero-typing-wrap { display: none; }

  /* Scroll indicator: hides into Safari bottom bar — remove on mobile */
  .scroll-hint { display: none; }

  /* Anchor scroll: compensate for fixed nav on mobile */
  html { scroll-padding-top: 68px; }
  #services, #process, #priser, #pricing, #handover, #contact {
    scroll-margin-top: 68px;
  }
  #priser { padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4rem)); }

  /* Insight box: tighter on mobile */
  .insight-box { padding: 1.1rem 1.3rem; gap: 1rem; }
  .insight-icon { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
  .value-items { grid-template-columns: 1fr; gap: 0.85rem; }
  .value-item { padding: 1.2rem 1.2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .domain-box { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .scroll-hint::after { animation: none; }
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-outline-light:hover { transform: none; }
}
