:root{
  --brand: #FBA78E;
  --text: #0f0f0f;
  --muted: #6b6b6b;
  --hero-overlay: rgba(0,0,0,.35);
  --radius: 16px;
  --container: 1100px;
}

*{ box-sizing: border-box; }

html,body{
  margin:0;
  padding:0;
  color:var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

.container{
  max-width: var(--container);
  margin-inline:auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

.section{
  padding: clamp(48px, 6vw, 84px) 0;
}

.body-lock{
  overflow:hidden;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
}

.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
  padding:12px 0;
}

.brand img{
  height:56px;
}

.main-nav a,
.auth-nav a{
  margin:0 12px;
  font-weight:500;
  color:#222;
}

.main-nav a:hover,
.auth-nav a:hover{
  text-decoration:underline;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  font-weight:700;
  font-size:14px;
}

.btn-primary{
  background:var(--brand);
  color:#111;
  box-shadow:0 8px 24px rgba(251,167,142,.35);
}

.btn-primary:hover{
  transform:translateY(-1px);
}

/* HERO */
.hero{
  position:relative;
  min-height:56vh;
  background:url("baggrund.jpg") center/cover no-repeat;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:var(--hero-overlay);
}

/* Launch hero layout */
.hero-launch{
  display:flex;
  align-items:stretch;
}

.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr);
  gap:clamp(28px, 5vw, 52px);
  align-items:center;
  padding:clamp(72px, 9vw, 96px) 0;
  color:#fff;
}

.hero-copy h1{
  margin:0 0 14px;
  font-size:clamp(28px, 4.5vw, 46px);
  line-height:1.12;
  letter-spacing:.2px;
}

.hero-copy p{
  margin:0 0 22px;
  max-width:48ch;
  color:#f3f3f3;
  font-size:clamp(15px, 1.7vw, 18px);
}

.hero-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.4);
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
  margin-bottom:8px;
}

.hero-secondary{
  font-weight:600;
  text-decoration:underline;
}

.hero-note{
  font-size:13px;
  opacity:.9;
}

/* Illustration / kort */
.hero-visual{
  display:flex;
  justify-content:flex-end;
}

.hero-card{
  background:rgba(255,255,255,.98);
  color:#111;
  border-radius:18px;
  padding:18px 18px 16px;
  max-width:340px;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.hero-card-eyebrow{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#888;
  margin:0 0 4px;
}

.hero-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.hero-card ul{
  margin:0 0 12px 18px;
  padding:0;
  font-size:14px;
  line-height:1.5;
}

.hero-card-tag{
  display:inline-flex;
  padding:4px 10px;
  border-radius:999px;
  background: color-mix(in srgb, var(--brand) 85%, #fff 15%);
  font-size:12px;
  font-weight:600;
}

/* DEMO */
.demo h2{
  font-size:clamp(28px, 4vw, 40px);
  margin-bottom:16px;
}

.video-wrapper{
  position:relative;
  padding-bottom:56.25%; /* 16:9 */
  height:0;
  overflow:hidden;
  border-radius:12px;
  box-shadow:0 12px 28px rgba(0,0,0,.15);
}

.video-wrapper iframe{
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  border:0;
}

.yt-note{
  margin:16px 0 8px;
  color:#444;
}

.yt-inline{
  display:inline-block;
  padding:2px 8px;
  border-radius:8px;
  background: color-mix(in srgb, var(--brand) 20%, white);
  color:#111;
  font-weight:700;
  text-decoration:none;
  transition:filter .15s ease, transform .05s ease;
}

.yt-inline:hover{
  text-decoration:underline;
  filter:brightness(.98);
}

.demo-feedback{
  margin-top:8px;
}

/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:36px;
  align-items:center;
}

.about-media img{
  width:100%;
  height:auto;
  border-radius:18px;
  box-shadow:0 12px 36px rgba(0,0,0,.12);
}

.about h2{
  font-size:clamp(28px, 4vw, 40px);
  margin-bottom:10px;
}

.about p{
  line-height:1.7;
  color:#333;
}

/* FAQ */
.faq h2{
  font-size:clamp(28px, 4vw, 40px);
  margin-bottom:16px;
}

.faq-item{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:14px 18px;
  margin-bottom:12px;
}

.faq-item summary{
  cursor:pointer;
  font-weight:600;
  list-style:none;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item[open]{
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

/* CONTACT */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:36px;
}

.contact-list{
  margin:10px 0 0;
  padding-left:18px;
}

.contact-form{
  display:grid;
  gap:12px;
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:16px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #ddd;
  border-radius:10px;
  font:inherit;
}

.contact-form label{
  display:grid;
  gap:6px;
  font-weight:600;
}

/* Dummy sektioner */
.muted-section{
  background:#fafafa;
}

.muted-section h2{
  margin-top:0;
}

/* FOOTER */
.site-footer{
  border-top:1px solid #eee;
  padding:22px 0;
  color:#666;
}

/* BURGER & MOBIL-NAV */
.burger{
  width:42px;
  height:36px;
  border:0;
  background:transparent;
  cursor:pointer;
  display:none;
  position:relative;
  margin-left:auto;
}

.burger span{
  position:absolute;
  left:0; right:0;
  height:3px;
  background:#222;
  border-radius:2px;
  transform-origin:center;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.burger span:nth-child(1){ top:8px; }
.burger span:nth-child(2){ top:16px; }
.burger span:nth-child(3){ top:24px; }

.mobile-nav{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1000;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}

.mobile-sheet{
  position:absolute;
  top:0; right:0;
  height:100%;
  width:min(86vw, 380px);
  background:#fff;
  padding:18px;
  transform:translateX(100%);
  transition:transform .25s ease;
  box-shadow:-12px 0 32px rgba(0,0,0,.15);
}

.mobile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.mobile-logo{
  height:40px;
  width:auto;
}

.close{
  font-size:32px;
  line-height:1;
  background:transparent;
  border:0;
  cursor:pointer;
}

.mobile-links{
  list-style:none;
  padding:8px 0 0;
  margin:10px 0 0;
}

.mobile-links li a{
  display:block;
  padding:14px 4px;
  font-size:18px;
  color:#111;
  text-decoration:none;
}

.mobile-links li a:active{
  background:#f6f6f6;
  border-radius:8px;
}

.mobile-links .divider{
  height:1px;
  background:#eee;
  margin:6px 0;
}

/* Når menu er åben */
.nav-open .mobile-nav{
  opacity:1;
  pointer-events:auto;
}

.nav-open .mobile-sheet{
  transform:translateX(0);
}

.nav-open .burger span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}

.nav-open .burger span:nth-child(2){
  opacity:0;
}

.nav-open .burger span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

/* RESPONSIVE */
@media (max-width:980px){
  .about-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }
  .header-inner{
    grid-template-columns:auto 1fr;
    gap:12px;
  }
  .auth-nav{
    justify-self:end;
  }
}

@media (max-width:900px){
  .main-nav,
  .auth-nav{
    display:none;
  }
  .burger{
    display:block;
  }
  .hero-inner{
    grid-template-columns:1fr;
    text-align:left;
  }
  .hero-visual{
    justify-content:flex-start;
  }
  .hero-card{
    max-width:100%;
  }
}
