/* =========================================================
   BASEFIL – FÆLLES CSS TIL ALLE SIDER
========================================================= */

/* ---------- GLOBAL FIX (stop side-scroll) ---------- */
html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  
  img, video {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* ---------- VARIABLER ---------- */
  :root {
    --blue-hero-dark: #2d4572;
    --blue-hero-light: #567ab4;
  
    --nav-bg: #1c2c4f;
    --white: #ffffff;
  
    --text-dark: #1f2833;
  
    /* små helpers du kan genbruge */
    --radius: 18px;
  }
  
  /* ---------- BASIS ---------- */
  body {
    margin: 0;
    font-family: "Playfair Display", serif;
    background-color: #74a5df;
    color: #243a5a;
  }
  
  h1, h2, h3 {
    font-family: "Anton", sans-serif;
  }
  
  /* ---------- CTA (fælles) ---------- */
  .cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background-color: #f4a8c1;
    color: #111;
    font-family: "Anton", sans-serif;
    font-size: 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  
  .cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }
  
  .cta:active{
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  
  .cta--glimt{
    margin-top: -18px;
  }
  
  /* =========================================================
     NAV (fælles)
  ========================================================= */
  .hero-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
  
    transform: translateY(0);
    opacity: 1;
  
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  
  .hero-header.scroll-down {
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
  }
  
  .hero-header.scroll-up {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .hero-header-inner {
    display: flex;
    height: 72px;
    padding: 8px 28px;
    align-items: center;
    gap: 2.6rem;
  
    border-radius: 999px;
    background: var(--nav-bg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    color: var(--white);
    pointer-events: auto;
  }
  
  .logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }
  
  .logo-img {
    height: 56px;
    width: auto;
    flex-shrink: 0;
    margin-left: 10px;
    margin-right: 28px;
    object-fit: contain;
    transform: translateY(-2px);
  }
  
  .hero-nav {
    display: flex;
    align-items: center;
    gap: 2.4rem;
  }
  
  .hero-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.98rem;
    position: relative;
  }
  
  .hero-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: rgba(168, 197, 255, 0.9);
    transition: width 0.18s ease;
  }
  
  .hero-nav a:hover::after,
  .hero-nav a:focus-visible::after {
    width: 100%;
  }
  
  /* ---------- Dropdown: Projekter ---------- */
  .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  
  .nav-dropbtn {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--white);
    font: inherit;
    font-size: 0.98rem;
    cursor: pointer;
    position: relative;
  }
  
  .nav-dropbtn:focus-visible {
    outline: 2px solid rgba(168, 197, 255, 0.9);
    outline-offset: 6px;
    border-radius: 999px;
  }
  
  .nav-caret {
    margin-left: 8px;
    font-size: 0.9em;
    opacity: 0.9;
  }
  
  .nav-dropmenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    padding: 10px;
    border-radius: 18px;
    background: var(--nav-bg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
    display: none;
    z-index: 60;
  }
  
  .nav-dropdown.open .nav-dropmenu {
    display: block;
  }
  
  .nav-dropmenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
  }
  
  .nav-dropmenu a:hover,
  .nav-dropmenu a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
  }
  /* ---------- KONTAKT (GLOBAL) ---------- */
.kontakt-section{
    background: #4e73aa;
    padding: 90px 7vw 110px;
    color: #fff;
  }
  
  .kontakt-card{
    max-width: 640px;
    margin: 0 auto;
    background: #f5f5f0;
    border-radius: 18px;
    padding: 40px 38px 36px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    text-align: center;
  }
  
  .kontakt-title{
    font-family: "Anton", sans-serif;
    font-size: clamp(2.4rem, 4vw, 3rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3a5ea9;
    margin: 0 0 12px;
  }
  
  .kontakt-subtitle{
    font-style: italic;
    margin: 0 0 18px;
    color: #333;
  }
  
  .kontakt-text{
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 22px;
    color: #333;
  }
  
  .kontakt-info{
    max-width: 420px;
    margin: 0 auto 24px;
    font-size: 0.98rem;
  }
  
  .kontakt-info a{
    color: #1c2c4f;
    text-decoration: none;
    border-bottom: 1px solid rgba(28, 44, 79, 0.2);
  }
  
  .kontakt-info a:hover{
    border-bottom-color: rgba(28, 44, 79, 0.7);
  }
  
  .cta-btn{
    display: inline-block;
    padding: 14px 36px;
    background-color: #f4a8c1;
    color: black;
    font-family: "Anton", sans-serif;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
  }
  
  