/* === Global layout & type scale (drop-in) === */

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

/* 1) Containerbredde og spacing-variabler */
:root{
  /* maks-tekstbredde og sidernes indre bredde */
  --container: min(1200px, 92vw);
  /* fluid spacing – vokser med skærm men har loft */
  --space-1: clamp(8px, 1.2vw, 16px);
  --space-2: clamp(16px, 2vw, 28px);
  --space-3: clamp(28px, 4vw, 56px);
  --radius: 12px;
}

/* 2) Fluid typografi (traditionel, rolig skala) */
html{
  /* basis: 15–18px alt efter viewport */
  font-size: clamp(15px, 0.9vw + 0.5rem, 18px);
  line-height: 1.4;
}
h1{ font-size: clamp(28px, 3.2vw + 0.5rem, 48px); line-height: 1.15; }
h2{ font-size: clamp(22px, 2.1vw + 0.4rem, 34px); line-height: 1.2;  }
h3{ font-size: clamp(18px, 1.6vw + 0.3rem, 24px); line-height: 1.25; }

/* 3) Standard “container” du kan bruge i alle sektioner */
.container{ width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); }

/* 4) Gør løbende tekst læsbar på store skærme */
.prose{ max-width: 65ch; }          /* 55–75 tegn pr. linje er klassisk god læsbarhed */
.prose p{ margin-bottom: 1em; }

/* 5) Sektioner: brug samme “lodrette rytme” overalt */
section.page{ padding-block: var(--space-3); }

/* 6) Billeder/video skalerer pænt */
img, video{ max-width: 100%; height: auto; display: block; }

/* 7) Hero-/banner-højder uden at fylde vanvittigt på mobil/stor skærm */
.hero, .banner, .cover{
  min-height: clamp(360px, 50vh, 680px);
  display: grid; place-items: center;
}

/* 8) Knækpunkt til større layouts (klassisk 1200px) */
@media (min-width: 1200px){
  .two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .three-col{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
}

/* --- Kontaktsektion (din sektion 5) bygger ovenpå ovenstående --- */
.contact-section{ background:#bbb; display:flex; justify-content:center; }
.contact-container{ width: var(--container); background:#fff; border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.1); overflow:hidden; display:grid; grid-template-columns: 1fr; }

@media (min-width: 900px){
  .contact-container{ grid-template-columns: 1fr 1fr; }
}

.contact-text{ background:#6bb4f8; color:#fff; padding: var(--space-3); }
.contact-text h2{ margin-bottom: var(--space-1); }
.contact-text p, .contact-text li{ font-size: 1.05rem; }

.contact-form{ padding: var(--space-3); background:#fff; display:flex; flex-direction:column; }
.form-grid{ display:grid; grid-template-columns: 1fr; gap: var(--space-1); margin-bottom: var(--space-1); }
@media (min-width: 900px){ .form-grid{ grid-template-columns: 1fr 1fr; gap: var(--space-2); } }

.form-group{ margin-bottom: var(--space-1); }
.contact-form label{ display:block; font-weight:700; margin-bottom: 6px; color:#333; }
.contact-form input, .contact-form textarea{
  width:100%; padding:12px; border:1px solid #ccc; border-radius:6px; font: inherit; background:#fff;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline:none; border-color:#6bb4f8; box-shadow:0 0 4px rgba(107,180,248,.6);
}
.form-help{ font-size:.85rem; color:#666; margin-top:6px; }

.submit-button{
  align-self:flex-start; background:#6bb4f8; color:#fff; padding:14px 30px; border:0; border-radius:6px;
  font-weight:600; cursor:pointer; transition:background .2s ease; margin-top: var(--space-1);
}
.submit-button:hover{ background:#1f7fb0; }

/* helt skjult honeypot */
input#hp_field[type="hidden"]{ display:none; }



/* nyt hertil */

:root {
  --side-gap: 20px;
  --btn-size: 10px;
  --btn-bg: #2d9cdb;
  --btn-bg-hover: #1f7fb0;
  --btn-focus: 3px;
}

body {
    font-family: Arial, sans-serif;
    background-color: #b4a6a6;
    color: #333;
    line-height: 1.6;
}
/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 60px;              /* lige under header */
  right: 20px;
  background-color: #6bb4f8;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

.dropdown-menu a:hover {
  background-color: #1f7fb0;
}

/* Aktiv (vis menu) */
.dropdown-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Kan rettes til, så du kan se, hvordan det ser ud med side padding på pc. 
Synes vi skal finde en anden måde at få side-knapperne til ikke at overlappe med indhold */
@media (min-width: 1024px) {
  body { padding-inline: 0px; }
}

/* Chrome, Safari, Opera */
body::-webkit-scrollbar {
  display: none; /* Gem scrollbar på højre side */
}

/* Header */
header {
    background-color: #6bb4f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: white;
    font-size: 1.2rem;
}

/* arrow buttons that look like the PNG itself */
.edge-arrow {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 10px; height: 14px;    /* match PNG; or set both to auto and use aspect-ratio */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  align-self: center;           /* center horizontally in the column */
}

/* provide the images */
.edge-arrow.up   { background-image: url("Bilag/Pil-op.png"); }
.edge-arrow.down { background-image: url("Bilag/Pil-ned.png"); }

/* optional hover feedback */
.edge-arrow:hover  { filter: brightness(1.05); }
.edge-arrow:active { transform: translateY(1px); }


button {
  border: none;       /* removes the border */
  background: none;   /* removes default background */
  padding: 10px;         /* removes default padding */
  margin: 10px;          /* removes margin */
  font: inherit;      /* inherit font from parent */
  color: inherit;     /* inherit text color */
}

/* fixed container pinned to the right, vertically centered */
.side-circles {
  position: fixed;
  right: var(--side-gap);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;

  /* NEW: shared background “box” */
  --group-bg: color-mix(in oklab, #ffffff 90%, #e9eef5);
  --group-border: #e5e7eb;
  --group-radius: 16px;
  --group-pad: 5px;     /* inside padding around the circular buttons */

  background: var(--group-bg);
  border: 1px solid var(--group-border);
  border-radius: var(--group-radius);
  padding: var(--group-pad);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);

  z-index: 9999;
  pointer-events: auto;

  --label-gap: 12px;              /* space between circle and text */
  --label-size: 14px;
  --label-color: #334155;
  --label-bg: white;        /* or a pill: rgba(255,255,255,.85) */
  --label-pad-inline: 6px;          /* use 8px if you enable a pill bg */
  --label-pad-block: 0;
  --label-radius: 999px;
}

.side-circles:hover .side-btn::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* the circular buttons */
.side-btn {
  width: var(--btn-size);
  height: var(--btn-size);
  border-radius: 50%;
  border: none;
  background: var(--btn-bg);
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .7; transition: opacity .15s, transform .15s;
  position: relative;

  /* Consider lighter shadow now that the group has a shadow */
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);

  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
}



/* hover/tap feedback */
.side-btn:hover { transform: translateY(-1px); background: var(--btn-bg-hover); }
.side-btn:active { transform: translateY(0); }
.side-btn.is-active { opacity: 1; transform: scale(1.06); /* or change bg/shadow */ }

.side-btn::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;

  /* side-circles is on the RIGHT edge, so place labels to the LEFT */
  right: calc(100% + var(--label-gap));
  transform: translateY(-50%) translateX(6px); /* start slightly offset */

  font: inherit;
  font-size: var(--label-size);
  color: var(--label-color);
  white-space: nowrap;

  background: var(--label-bg);
  padding: var(--label-pad-block) var(--label-pad-inline);
  border-radius: var(--label-radius);

  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;             /* text is non-interactable */
}

/* small-screen fallback: move to bottom center */
@media (max-width: 520px) {
  .side-circles {
    display: none;
  }
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
}

.hero {
  position: relative;
  background-color: #fffbfb;
  color: #333;
  text-align: center;
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* så canvas ikke stikker udenfor */
}

.hero .logo {
  max-width: 250px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #6bb4f8;
}

/* Canvas fylder hele hero-sektionen men ligger bag teksten */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero .logo,
.hero h1 {
  position: relative;
  z-index: 1; /* så teksten ligger over animationen */
}

/* === Sektion 1 === */
.section-one {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  background-color: #fffbfb;
}

/* Tekst-side */
.section-one .text-side {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;  
}

/* Signatur-h2 */
.section-one .h2 {
  color: #6bb4f8;
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: left;
}

.section-one .text-side p {
  margin-bottom: 16px;
}

.section-one .text-side strong {
  color: #333;
}

/* Billede-side */
.section-one .image-side {
  flex: 1;
  position: relative;
  background-color: #6bb4f8;
  display: flex;
  align-items: center;
  justify-content: center;

  /* rundeste klassiske løsning */
  border-radius: 12px;
  overflow: hidden;
}

.section-one .image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* rund billede inde i den blå boks også */
  border-radius: 12px;  /* brug evt. !important hvis noget overstyrer */
  display: block;
}

/* 2) Gør stone-billedet mindre (uden at røre HTML) */
.image-side img[src*="Stonestack"] {
  margin-inline: auto;                   /* centrer hvis der er ekstra plads */
}

.image-pad { padding: 5%; }        /* spacing without breaking the clip */


/* === Dots (hvis du bruger dem) === */
.dots {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
}

.dot.active {
  background-color: #ffffff;
}

/* === Mobil tilpasning === */
@media (max-width: 768px) {
  .section-one {
    flex-direction: column;
  }

  .section-one .sig-h2 {
    font-size: 1.4rem;
    text-align: left;
  }

  .section-one .text-side {
    padding: 20px;
    text-align: left;
  }

  .section-one .image-side {
    padding: 10px;
  }
}

/* Cards */
.card {
  background-color: #fffbfb;
  flex: 1 1 30%;
  min-width: 250px;     /* behold samme som før */
  max-width: 300px;     /* behold samme som før */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Billede */
.card-img {
  width: 100%;
  height: 150px;        /* beholdt samme højde */
  object-fit: cover;
  display: block;
  margin-bottom: 2px;  /* mindre luft under billedet */
}

/* Tekst */
.card h3 {
  margin: 8px 15px 6px; /* mindre margin */
  font-size: 0.85rem;      /* lidt mindre overskrift */
}

.card p {
  margin: 0 15px 10px;  /* mindre margin */
  font-size: 0.85rem;   /* brødtekst lidt mindre */
  line-height: 1.4;
  flex-grow: 1;
}

.section-two h1 {
  margin-top: 0;       /* fjerner standard luft over */
  margin-bottom: 0px; /* lidt luft under */
  font-size: 1.8rem;

}

.section-two h2 {
  margin-top: 0;       /* sikrer der heller ikke er ekstra luft her */
  margin-bottom: 5px;
  font-size: 1.2rem;

}

/* === Sektion 3 og 4, fælles styling === */
.section-three,
.section-four {
  display: flex;
  flex-wrap: nowrap;          /* holder 50/50 layout */
  align-items: stretch;       /* sørger for at begge sider bliver lige høje */
  justify-content: center;
  min-height: 100vh;          /* fylder altid hele skærmhøjden */
  background-color: #fffbfb;
  box-sizing: border-box;
}

/* Tekst-side */
.section-three .text-side,
.section-four .text-side {
  flex: 1 1 50%;              /* altid halvdelen */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;    /* centrer tekst vertikalt */
  box-sizing: border-box;
}
.section-three h2,
.section-four h2 {
  color: #6bb4f8;
}

/* Billede-side */
.section-three .image-side,
.section-four .image-side {
  flex: 1 1 50%;              /* altid halvdelen */
  background-color: #6bb4f8;  /* blå boks fylder hele halvdelen */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;              /* ens padding på alle sider */
  box-sizing: border-box;
}

.section-three .image-side img,
.section-four .image-side img {
  max-width: 100%;
  max-height: 80vh;           /* billede skalerer indenfor boksen */
  object-fit: contain;
  display: block;
}

/* Mobil: stack billede og tekst */
@media (max-width: 768px) {
  .section-three,
  .section-four {
    flex-direction: column;
    min-height: auto;         /* fri højde på mobil */
  }

  .section-three .text-side,
  .section-four .text-side,
  .section-three .image-side,
  .section-four .image-side {
    flex: 1 1 100%;
    width: 100%;
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .section-four {
    flex-direction: column; /* stack lodret */
  }

  .section-four .text-side {
    order: 1; /* teksten først */
  }

  .section-four .image-side {
    order: 2; /* billedet bagefter */
  }
}


/* === Om os sektion === */
.about-section {
  background-color: #fffbfb;
  padding: 80px 20px;
}
.quote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  border-left: 4px solid #6bb4f8; /* blå linje til venstre */
  padding-left: 16px;
  margin: 20px 0;
}

.quote-author {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 1rem;
  color: #6bb4f8;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #6bb4f8;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Responsiv til mobil */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: left;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}
/* === Sektion 5: Partner Highlight === */
.partner-highlight {
  background: #fffbfb;
  min-height: 70vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.partner-container {
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

/* Logo øverst */
.partner-logo img {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Person-del */
.partner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.partner-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #6bb4f8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.partner-text h2 {
  color: #6bb4f8;
  margin-bottom: 10px;
}

.partner-text p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.5;
}

.partner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Fælles stil for begge knapper */
.partner-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: background .2s ease, transform .2s ease;
}

/* LinkedIn-knap (beholder din blå) */
.linkedin-btn {
  background: #6bb4f8;
  color: #fff;
}
.linkedin-btn:hover { background: #1f7fb0; transform: translateY(-2px); }

/* Hjemmeside-knap (neutral stil) */
.website-btn {
  background: #eaeaea;
  color: #333;
}
.website-btn:hover { background: #d5d5d5; transform: translateY(-2px); }

.website-btn:active,
.linkedin-btn:active { transform: translateY(0); }


/* Mobil: tilpasning */
@media (max-width: 768px) {
  .partner-container {
    padding: 20px;
    gap: 16px;
  }
  .partner-avatar {
    width: 100px;
    height: 100px;
  }
}
/* === Sektion 6: Testimonials (max 100vh + fade) === */
.section-six.testimonials {
  background: #fffbfb;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;     /* centrer indhold lodret */
  gap: 20px;
  box-sizing: border-box;

  min-height: 80vh;
  max-height: 100vh;           /* <- må aldrig fylde mere end en skærm */
  overflow: hidden;
}

.section-six .t-head {
  text-align: center;
  max-width: 900px;
}
.section-six .t-head h2 {
  color: #6bb4f8;
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.section-six .t-head p {
  color: #333;
  opacity: .9;
  margin: 0;
}

/* Viewport der holder slides ovenpå hinanden */
.t-viewport {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 240px;               /* fast højde så sektionen ikke hopper */
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Et slide ad gangen – fade mellem dem */
.t-slide {
  position: absolute;
  inset: 0;
  padding: 22px 26px;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .5s ease, transform .5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.t-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Citat-udtryk */
.t-slide blockquote {
  position: relative;
  margin: 0 0 12px 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #222;
  padding-left: 18px;
  border-left: 4px solid #6bb4f8;   /* blå accent */
  font-style: italic;
}
.t-slide blockquote::before {
  content: "“";
  position: absolute;
  left: -6px;
  top: -10px;
  font-size: 3rem;
  color: rgba(107,180,248,.2);
  line-height: 1;
  font-style: normal;
}
.t-meta {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.t-name { font-weight: 700; color: #244; }
.t-role { color: #6bb4f8; }

/* Knapper */
.t-controls {
  display: flex;
  gap: 10px;
}
.t-btn {
  border: none;
  background: #6bb4f8;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.t-btn:hover { background: #1f7fb0; transform: translateY(-2px); }

/* Mobil */
@media (max-width: 768px) {
  .section-six.testimonials { padding: 32px 16px; }
  .t-viewport { height: auto; min-height: 180px; }
  .t-slide { padding: 18px; }
  .t-slide blockquote { font-size: 1.05rem; }
}

/* === Sektion 5: Kontakt === */
.contact-section {
  background-color: #bbbbbb;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Venstre tekst-kolonne */
.contact-text {
  flex: 1 1 420px;
  padding: 40px;
  background: #6bb4f8;
  color: #fff;
}
.contact-text h2 { font-size: 2rem; margin-bottom: 20px; }
.contact-text p  { font-size: 1.1rem; margin-bottom: 20px; line-height: 1.6; }
.contact-text ul { list-style: none; padding: 0; margin: 0; }
.contact-text ul li { margin-bottom: 10px; }

/* Højre formular-kolonne */
.contact-form {
  flex: 1 1 480px;
  padding: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 2-kolonne grid til de fire øverste felter  */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-bottom: 20px;
}
.form-grid .form-group { margin: 0; }

/* Generel form-styling */
.form-group { margin-bottom: 20px; }
.contact-form label {
  display: block; margin-bottom: 6px; font-weight: 700; color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6bb4f8;
  box-shadow: 0 0 4px rgba(107,180,248,0.6);
}
.form-help { display:block; margin-top:6px; font-size:.85rem; color:#666; }

/* Honeypot helt usynlig */
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}


/* Turnstile – lidt luft */
.cf-turnstile { transform: scale(1); transform-origin: left top; }

/* Knap + status */
.submit-button {
  background-color: #6bb4f8;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .3s ease;
}
.submit-button:hover { background-color: #1f7fb0; }

.form-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 600;
  display: none; /* styres med [hidden] i HTML + JS nedenfor */
}
.form-alert.ok  { background:#e8f7ef; color:#146c43; display:block; }
.form-alert.err { background:#fdecea; color:#b00020; display:block; }

/* Responsiv */
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .contact-container { flex-direction: column; }
  .contact-text, .contact-form { padding: 30px 20px; }
  .contact-text h2 { font-size: 1.8rem; }
}

/* Sektion 6: LinkedIn */
.section-linkedin {
  background-color: #fffbfb; /* hvid baggrund */
  color: #333333; /* mørk tekst for kontrast */
  padding: 80px 20px;
  text-align: center;
  border-top: 2px solid #6bb4f8; /* subtile blå accent på toppen */
}
.section-linkedin {
  position: relative; /* så vi kan absolut positionere canvas */
  overflow: hidden;   /* så animationen ikke stikker ud */
}

#linkedinCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;        /* bag teksten */
}

.section-linkedin .linkedin-container {
  position: relative;
  z-index: 1;        /* ovenpå animationen */
}

.linkedin-container {
  max-width: 800px;
  margin: 0 auto;
}

.section-linkedin h2,
.section-linkedin p,
.section-linkedin .linkedin-button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.section-linkedin h2 {
  animation-delay: 0.2s;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #6bb4f8; /* blå overskrift */
}

.section-linkedin p {
  animation-delay: 0.4s;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.section-linkedin .linkedin-button {
  animation-delay: 0.6s;
  background-color: #6bb4f8; /* LinkedIn blå */
  color: white;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.linkedin-button:hover {
  background-color: #005983; /* mørkere blå ved hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.linkedin-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiv */
@media (max-width: 768px) {
  .section-linkedin {
    padding: 60px 20px;
  }

  .section-linkedin h2 {
    font-size: 1.8rem;
  }

  .section-linkedin p {
    font-size: 1rem;
  }
}



/* === Footer === */
.site-footer {
  background-color: #6bb4f8; /* Grå baggrund som resten af siden */
  padding: 40px 20px;
  color: #333;
  font-size: 0.95rem;
}

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

.footer-left h3 {
  margin-bottom: 10px;
  color: white; /* Samme blå farve som header */
}

.footer-left p {
  margin: 0;
}

.footer-right p {
  margin: 5px 0;
}

.footer-right a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: white;
}

/* Responsiv */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
}
/* === MODAL: Cards i Sektion 2 === */

/* Selve modal-laget */
#cardModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}
#cardModal.is-open {
  display: block;
}

/* Mørk baggrund */
#cardModal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

/* Dialog-boksen */
#cardModal .modal-dialog {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 800px);
  max-height: 86vh;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;    /* holder indholdet indenfor boksen */
}

/* Billedet øverst */
#cardModal .modal-media {
  width: 100%;
  max-height: 220px;   /* mindre højde */
  background: #f3f8ff;
}
#cardModal .modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Modal layout === */
#cardModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}
#cardModal.is-open {
  display: block;
}
#cardModal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

/* === Modal box === */
#cardModal .modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  width: min(90vw, 700px);
  max-height: 85vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.18s ease forwards;
}
@keyframes modalIn {
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* === Billedet === */
#cardModal .modal-media {
  width: 100%;
  background: #f3f8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;            /* luft rundt om billedet */
}
#cardModal .modal-media img {
  max-width: 100%;
  max-height: 200px;        /* lille og pæn */
  object-fit: contain;      /* viser hele billedet */
  border-radius: 8px;
}

/* === Teksten === */
#cardModal .modal-content {
  padding: 18px 20px 8px;
  text-align: center;
}
#cardModal .modal-content h3 {
  margin: 0 0 10px 0;
  color: #6bb4f8;           /* blå farve */
  font-size: 1.25rem;
}
#cardModal .modal-body {
  color: #333;
  line-height: 1.55;
}

/* === Luk-knap (kun i bunden) === */
#cardModal .modal-actions {
  padding: 16px;
  display: flex;
  justify-content: center;
}
#cardModal .modal-btn {
  background: #6bb4f8;      /* din blå farve */
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease;
}
#cardModal .modal-btn:hover {
  background: #589dd9;
}

/* === Mobil tilpasning === */
@media (max-width: 768px) {
  #cardModal .modal-media img {
    max-height: 150px;
  }
  #cardModal .modal-content {
    padding: 14px 16px 6px;
  }
  #cardModal .modal-actions {
    padding: 10px 16px 14px;
  }
}


/* her */

/* 1) Afrundede hjørner på billeder i ‘bokse’ */
.image-side {
  border-radius: 12px;         /* styrer hjørnerne */
  overflow: hidden;            /* klipper billedet i hjørnerne */
}
.image-side img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;      /* arver 12px fra .image-side */
}

/* 3) (valgfrit) fast forhold, hvis det må beskæres let */
.image-side--crop { aspect-ratio: 4 / 3; }          /* brug som ekstra klasse på containeren */
.image-side--crop img { width: 100%; height: 100%; object-fit: cover; }


/* HERO-logo – XL størrelse på tværs af skærme */
.hero .logo{
  width: clamp(240px, 36vw, 680px); /* større min., aggressiv vækst, højere loft */
  max-width: none;
  height: auto;
  margin-bottom: clamp(14px, 2.2vw, 32px);
  display: block;
  position: relative;
  z-index: 1;
}

/* (valgfrit) giv mere plads i hero så logoet ikke “presser” indholdet */
.hero{
  min-height: clamp(420px, 100vh, 780px);
}

/* =========================
   Section 2 (services)
   ========================= */
.section-two.services {
  background: #bbb;
  padding: 36px 20px;
  text-align: center;
  min-height: 70vh;
}

.section-two.services h1,
.section-two.services h2 {
  margin: 8px 0 18px;
  line-height: 1.25;
}
.section-two.services h1 { font-size: 1.8rem; }
.section-two.services h2 { font-size: 1.1rem; opacity: .95; }

/* =========================
   Carousel row (cards strip)
   ========================= */
.section-two.services .cards-strip {
  --gap: 24px;

  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  
  touch-action: pan-y;           /* allow vertical page scroll; we handle horizontal */  


  /* native snap (JS can toggle to none via .snap-none) */
  scroll-snap-type: x mandatory;  
  scroll-padding-inline: 12px;     

  /* make real inner gutters so first/last can center */
  --gutter: 12px; /* tune per breakpoint if you want */
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);

}


.section-two.services .cards-strip::-webkit-scrollbar {
  display: none;              /* Chrome/Safari */
}

.section-two.services .cards-strip.snap-none {
  scroll-snap-type: none;
}

/* =========================
   Cards (only in section 2)
   ========================= */
.section-two.services .cards-strip .card {
  /* 3 → 2 → 1 via breakpoints */
  --card-basis: calc((100% - (2 * var(--gap))) / 3);

  flex: 0 0 var(--card-basis);
  width: auto; min-width: 0; max-width: none;

  /* snap consistently to START (matches JS left offsets) */
  scroll-snap-align: center;
  scroll-snap-stop: always;

  background: #fffbfb;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}


.section-two.services .cards-strip .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* Card media (use CONTAIN + letterboxing to show full image) */
.section-two.services .cards-strip .card .card-img,
.section-two.services .cards-strip .card img {
  width: 100%;
  height: 160px;           /* fixed card media height */
  object-fit: contain;     /* show entire image */
  object-position: center;
  background: #fff;        /* letterbox color */
  padding: 6px;            /* optional breathing room */
  display: block;
}

/* Text inside cards */
.section-two.services .cards-strip .card h3 {
  font-size: 1rem;
  margin: 12px 14px 6px;
}
.section-two.services .cards-strip .card p {
  font-size: .95rem;
  line-height: 1.45;
  margin: 0 14px 14px;
  flex: 1;
}

/* =========================
   Controls
   ========================= */
.section-two.services .carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.section-two.services .carousel-btn {
  border: none;
  background: #6bb4f8;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.section-two.services .carousel-btn:hover { background: #1f7fb0; transform: translateY(-1px); }
.section-two.services .carousel-btn:disabled { opacity: .4; cursor: default; }

/* =========================
   Breakpoints
   ========================= */
@media (max-width: 1024px) {
  .section-two.services .cards-strip { --gap: 24px; }
  .section-two.services .cards-strip .card {
    --card-basis: calc((100% - var(--gap)) / 2); /* 2-up */
  }
}
@media (max-width: 768px) {
  .section-two.services { padding: 28px 12px; }
  .section-two.services .cards-strip {
    --gap: 12px;
    scroll-padding-inline: 12px;
  }
  .section-two.services .cards-strip .card {
    --card-basis: 100%; /* 1-up */
  }
}

/* =========================
   Generic card image fallback (outside section 2)
   ========================= */
.card .card-img {
  width: 100%;
  height: 150px;           /* default for other card variants */
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 6px;
  display: block;
}
/* === Modal: billede skal passe ind uden at blive kæmpe === */
#cardModal .modal-media{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:#f3f8ff;

  /* fælles loft så billeder ikke dominerer teksten */
  --media-max-h: clamp(160px, 32vh, 280px);
  min-height: var(--media-max-h);   /* giver en rolig boks-højde */
}

#cardModal .modal-media img{
  max-height: var(--media-max-h);
  max-width: 92%;
  height: auto;         /* bevar proportioner */
  width: auto;          /* ingen tvungen udstrækning */
  object-fit: contain;  /* vis hele billedet */
  object-position: center;
  border-radius: 8px;
  background: #fff;
}


/* 17 verdensmål design */
.section-sdg{
  background-color: #fffbfb;
}

#sdg-detail {
  max-width: 900px;
  margin: 18px auto 0;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  display: none;
  gap: 6px;
}

#sdg-detail.is-visible {
  display: grid;
}

.sdg-detail__title {
  font-weight: 700;
  color: #1f7fb0;
}

.sdg-detail__text {
  color: #333;
  line-height: 1.45;
}

#brand {
  display: block;        /* removes inline gaps */
  width: 70%;          /* set whatever you want */
  height: auto;          /* keep aspect ratio */
  margin-inline: auto;            /* centers horizontally */

}

@media (max-width: 768px) {
  #brand {width: 95%;}
}
