.countdown {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);

    display: inline-flex;
    align-items: baseline;
    gap: 10px;

    padding: 10px 18px;
    border-radius: 12px;

    /*background: rgba(255,255,255,.08);
    /*border: 1px solid rgba(255,255,255,.12);*/
}

.countdown-number {
    font-size: 30px;
    font-weight: 900;
}

.countdown-text {
    font-size: 14px;
    font-weight: 600;
}

:root{
  --bg-top: #0b1630;
  --bg-mid: #102a4e;
  --bg-bot: #071226;

  --text: #eaf0ff;
  --muted: rgba(234,240,255,.78);

  --card-bg: #ffffff;
  --card-text: #0a1633;
  --card-muted: rgba(10,22,51,.70);

  --accent: #6f5bd4;
  --accent-2: #8c7af0;

  --shadow: 0 20px 55px rgba(0,0,0,.28);
  --shadow-soft: 0 12px 26px rgba(15,20,30,.12);
  --radius: 18px;
  --radius-lg: 28px;

  --container: 1180px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: #f5f7fb;
}

/* ===== Topbar ===== */
.topbar{
  background: linear-gradient(180deg, rgba(10,22,45,.96), rgba(10,22,45,.90));
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar .inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display:flex;
  align-items:center;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;

  /* vigtigt i flex-layout så tekst kan bryde korrekt */
  min-width: 0;
}

.brand img{
  height: 50px;
  width: auto;
  display: block;
}

.brand .name{
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .2px;

  /* vigtigt i flex-layout så tekst kan bryde korrekt */
  min-width: 0;
  white-space: normal;
}

.brand .name small{
  display:block;
  font-weight: 600;
  opacity: .75;
  font-size: 12px;
  margin-top: 2px;
}

/* ===== Nav (generelt) ===== */
nav{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-left: auto;
}

nav a{
  color: rgba(234,240,255,.9);
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}

nav a:hover{
  background: rgba(255,255,255,.06);
}

/* Hvis du senere vil have en CTA i topbar igen */
.cta-top{
  margin-left: 10px;
  background: linear-gradient(90deg, #2fb5d8, #22a0c6);
  color: #041019;
  font-weight: 800;
  border: 0;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
  white-space: nowrap;
}

/* ===== Hero ===== */
.hero{
  background:
    radial-gradient(1200px 500px at 50% 10%, rgba(140,122,240,.28), transparent 55%),
    linear-gradient(180deg, var(--bg-mid), var(--bg-bot));
  position: relative;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto -120px;
  height: 380px;
  background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent 65%);
  transform: rotate(-8deg);
  pointer-events:none;
}

.hero .inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 20px 70px;
  text-align:center;
}

.headline{
  margin: 0;
  font-weight: 900;
  letter-spacing: 1px;
  font-size: clamp(44px, 6vw, 84px);
}

.headline .wro{
  color: #ffffff;
  text-shadow: 0 14px 26px rgba(0,0,0,.25);
}

.headline .dk{
  background: linear-gradient(90deg, #9b8cff, #caa5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.subheadline{
  margin: 10px 0 0;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  opacity: .92;
}

.lead{
  max-width: 760px;
  margin: 18px auto 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.cta-main{
 display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  padding: 14px 24px;
  border-radius: 16px;

  font-weight: 800;
  text-decoration:none;

  background: linear-gradient(180deg, var(--bg-mid), var(--bg-bot));
  color: rgba(234,240,255,.96);

  border: 1px solid rgba(16,42,78,.35);

  box-shadow:
    0 10px 24px rgba(7,18,38,.28),
    inset 0 1px 0 rgba(255,255,255,.06);

  transition: transform .12s ease, box-shadow .12s ease;
}

.cta-main:hover{ filter: brightness(1.05); }

.hint{
  margin-top: 18px;
  font-size: 13px;
  color: rgba(234,240,255,.72);
}

.dots{
  margin-top: 34px;
  display:flex;
  justify-content:center;
  gap: 10px;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35);
  opacity: .85;
}

.dot.active{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.92);
}

/* ===== Content section with cards ===== */
.content{
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 20px 56px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: -20px;
}

.card{
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  border: 1px solid rgba(15,20,30,.06);
  min-height: 170px;
}

.card .icon{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(111,91,212,.12);
  color: var(--accent);
  margin-bottom: 14px;
}

.card h3{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: .2px;
}

.card p{
  margin: 0;
  color: var(--card-muted);
  line-height: 1.5;
  font-size: 14px;
}

/* ===== Dropdown styles (matcher topbar) ===== */
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}

.navlink{
  color: rgba(234,240,255,.92);
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.navlink:hover{
  background: rgba(255,255,255,.06);
}

.dropdown{
  position: relative;
}

.dropbtn{
  display:inline-flex;
  align-items:center;
  gap: 6px;
}

.caret{
  opacity: .85;
  font-size: 12px;
}

/* Dropdown panel */
.dropdown-menu{
  position:absolute;
  top: 100%;
  left: 0;

  min-width: 220px;
  padding: 8px;

  border-radius: 14px;
  background: rgba(12, 20, 42, .95);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 55px rgba(0,0,0,.32);

  display:none;
  z-index: 99;

  backdrop-filter: blur(10px);
}

/* Links inside dropdown */
.dropdown-menu a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;

  color: rgba(234,240,255,.92);
  text-decoration:none;
  font-weight: 650;
  font-size: 14px;

  transition: background .15s ease, transform .12s ease;
}

.dropdown-menu a:hover{
  background: rgba(111,91,212,.18);
  transform: translateX(2px);
}

/* CSS-only open */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  display:block;
}

/* Lille “top highlight” når dropdown er aktiv */
.dropdown:hover .dropbtn,
.dropdown:focus-within .dropbtn{
  background: rgba(111,91,212,.14);
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  /* VIGTIGT: skjul kun din nav med class, ikke alle <nav> på siden */
  nav.nav{ display:none; }

  .brand{ min-width: unset; }
  .cards{ grid-template-columns: repeat(2, 1fr); margin-top: -34px; }
}

@media (max-width: 700px){
  .topbar .inner{
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand{
    flex: 1 1 100%;
    min-width: 0;
  }

  .brand img{
    height: 40px;
    width: auto;
  }

  .brand .name{
    font-size: 14px;
  }

  .brand .name small{
    display: none;
  }

  /* Vis menu igen på mobil og lad den wrappe */
  nav.nav{
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px){
  .hero .inner{ padding: 54px 16px 58px; }
  .cards{ grid-template-columns: 1fr; }
  .cta-top{ padding: 10px 12px; }
}

/* ===== Footer ===== */

.site-footer{
  margin-top: 60px;
  padding: 32px 20px 40px;
  border-top: 1px solid rgba(15,20,30,.08);
  background: #ffffff;
  color: #0a1633;
  text-align: center;
  font-size: 14px;
}

.site-footer .inner{
  max-width: var(--container);
  margin: 0 auto;
}

.site-footer p{
  margin: 6px 0;
  opacity: .85;
}

.site-footer strong{
  font-weight: 700;
}

.footer-links a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover{
  text-decoration: underline;
}
.no-cookies{
  margin-top: 10px;
  font-size: 13px;
  opacity: .7;
}
