/* =============================================
   HYPOTETISK — Design System v4
   Inspireret af seekicks.kh-berlin.de
   Fuld editorial redesign
   ============================================= */

/* === SAGACE (brand-font til overskrifter) === */
@font-face {
  font-family: "Sagace";
  src: url("./fonts/TRIALSagace-Regular-BF678f1fab154dd.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sagace";
  src: url("./fonts/TRIALSagace-Light-BF678f1fab0c903.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sagace";
  src: url("./fonts/TRIALSagace-Medium-BF678f1fab0c8f7.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sagace";
  src: url("./fonts/TRIALSagace-Bold-BF678f1faaf3141.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sagace";
  src: url("./fonts/TRIALSagace-Black-BF678f1faaf3b71.otf") format("opentype");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* === DESIGN TOKENS (seekicks-palette) === */
:root {
  --schwarz:    #1E1E1E;
  --hell-grau:  #F3F3F3;
  --weiss:      #ffffff;
  --blau:       #0000FF;
  --hellblau:   #C7C7FF;
  --gelb:       #FAFF00;
  --hell-gelb:  #FFFFD3;
  --rot:        #FF3939;
  --lachs:      #FFEBDD;
  --gruen:      #B2FF8D;
  --pistazie:   #ECF8BE;

  /* Aliases (bruges af JS og ældre klasser) */
  --text:    var(--schwarz);
  --text2:   #444444;
  --text3:   #888888;
  --bg:      var(--hell-grau);
  --bg2:     var(--weiss);
  --accent:  var(--blau);
  --green:   var(--gruen);
  --yellow:  var(--gelb);
  --lavender:var(--hellblau);
  --border:  rgba(0,0,0,0.08);
  --border2: rgba(0,0,0,0.15);
  --shadow:  none;
  --shadow-md: none;

  --pill-r: 1.87rem;
  --border-w: 1.5px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* === BASE === */
body {
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  color: var(--schwarz);
  background: var(--hell-grau);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' width='18' height='18'%3E%3Ccircle fill='%23FF3939' cx='9' cy='9' r='9'/%3E%3C/svg%3E") 9 9, auto;
}
a, button, [role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' width='18' height='18'%3E%3Ccircle fill='%23FF3939' cx='9' cy='9' r='9'/%3E%3C/svg%3E") 9 9, pointer;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* === TYPOGRAFI === */
h1, h2, h3, h4 {
  font-family: "Sagace", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--schwarz);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text2); line-height: 1.72; margin: 0 0 0.9rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--schwarz); }

/* === PILLS / KNAPPER (Space Mono – seekicks-stil) === */
.pill,
.nav-pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  border: var(--border-w) solid var(--schwarz);
  border-radius: var(--pill-r);
  padding: 0.32rem 1.1rem;
  white-space: nowrap;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: inherit;
  background: var(--weiss);
  color: var(--schwarz);
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.pill:hover,
.nav-pill:hover,
.btn:hover { background: var(--gruen); }

/* Varianter */
.pill--yellow, .nav-pill--yellow, .btn--yellow { background: var(--gelb); }
.pill--green,  .nav-pill--green,  .btn--green  { background: var(--gruen); }
.pill--blue,   .nav-pill--blue,   .btn--blue   { background: var(--blau); color: var(--weiss); border-color: var(--blau); }
.pill--blue:hover { background: var(--gelb); color: var(--schwarz); border-color: var(--schwarz); }
.pill--lavender { background: var(--hellblau); }
.pill--salmon   { background: var(--lachs); }
.pill--dark, .nav-pill--dark, .btn--dark { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }
.nav-pill--dark:hover { background: var(--gruen); color: var(--schwarz); border-color: var(--schwarz); }
.pill--outline  { background: transparent; }
.pill--outline:hover { background: var(--gruen); }
.pill--white, .nav-pill--white { background: var(--weiss); }
.pill--white:hover, .nav-pill--white:hover { background: var(--gelb); }
.pill--sm { font-size: 0.72rem; padding: 0.25rem 0.8rem; }

/* Btn aliaser (bagudkompatibilitet) */
.btn--primary { background: var(--gelb); }
.btn--primary:hover { background: var(--gruen); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--gelb); }
.btn--sm { font-size: 0.75rem; padding: 0.28rem 0.9rem; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10030;
  background: var(--weiss);
  border-bottom: var(--border-w) solid var(--schwarz);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 10px;
  position: relative;
}
/* Seekicks-streg: løber fra logo til kontakt */
.main-nav::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: var(--border-w);
  background: var(--schwarz);
  z-index: 0;
  pointer-events: none;
}
.nav-left  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.nav-right { display: flex; align-items: center; gap: 6px; position: relative; z-index: 1; }

/* Header-compat: ældre .header-inner, .site-nav */
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; gap: 10px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { font-family: 'Space Mono', monospace; font-size: 0.82rem; border: var(--border-w) solid var(--schwarz); border-radius: var(--pill-r); padding: 0.32rem 1.1rem; background: var(--weiss); color: var(--schwarz); transition: background 0.15s ease; }
.site-nav a:hover { background: var(--gruen); }
.site-nav a[aria-current="page"] { background: var(--gelb); }
.site-nav a.btn { margin-left: 4px; }

.logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  border: var(--border-w) solid var(--schwarz);
  border-radius: var(--pill-r);
  padding: 0.32rem 1.1rem;
  background: var(--weiss);
  color: var(--schwarz);
  text-decoration: none;
  transition: background 0.15s ease;
  display: inline-flex; align-items: center; gap: 0;
}
.logo:hover { background: var(--gruen); opacity: 1; }
.logo-black { color: var(--schwarz); }
.logo-blue  { color: var(--blau); }

/* Menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: var(--border-w) solid var(--schwarz);
  border-radius: var(--pill-r);
  padding: 7px 12px;
  cursor: inherit;
  z-index: 10002;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle__bar { display: block; width: 20px; height: 1.5px; background: var(--schwarz); transition: 0.3s ease; border-radius: 0; }
.menu-toggle.open .menu-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .menu-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* === EDITORIAL GRID (forside) === */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.65fr;
  border-bottom: var(--border-w) solid var(--schwarz);
  min-height: 80vh;
}
.ed-col {
  border-right: var(--border-w) solid var(--schwarz);
  display: flex;
  flex-direction: column;
}
.ed-col:last-child { border-right: none; }
.ed-col--main   { background: var(--weiss); }
.ed-col--media  { background: var(--hell-grau); }
.ed-col--sidebar{ background: var(--weiss); }

.ed-block {
  padding: 24px;
  border-bottom: var(--border-w) solid var(--schwarz);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ed-block:last-child { border-bottom: none; flex: 1; }

/* Blok-farver */
.ed-block--green    { background: var(--gruen); }
.ed-block--pistachio{ background: var(--pistazie); }
.ed-block--lavender { background: var(--hellblau); }
.ed-block--salmon   { background: var(--lachs); }
.ed-block--yellow   { background: var(--gelb); }
.ed-block--hell-gelb{ background: var(--hell-gelb); }
.ed-block--grey     { background: var(--hell-grau); }
.ed-block--dark     { background: var(--schwarz); }
.ed-block--dark h1,
.ed-block--dark h2,
.ed-block--dark h3,
.ed-block--dark p { color: var(--weiss); }

/* === MEDIA FRAME === */
.media-frame {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: var(--border-w) solid var(--schwarz);
  background: var(--hell-grau);
  flex-shrink: 0;
}
.media-frame img,
.media-frame .hero-gif { width: 100%; height: 100%; object-fit: cover; }
.media-frame .hero-gif {
  background-image: url("../Hero gif.gif");
  background-size: cover;
  background-position: center;
}

/* === QUOTE === */
.ed-quote {
  font-family: "Sagace", system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--schwarz);
  margin: 0;
  quotes: "\201C" "\201D";
}
.ed-quote::before { content: open-quote; }
.ed-quote::after  { content: close-quote; }
cite { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--text3); display: block; }
.caption { font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--text3); }
.ed-pull {
  font-family: "Sagace", system-ui, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  color: var(--schwarz);
  text-transform: lowercase;
}

/* === STATS ROW === */
.stats-row { display: flex; gap: 0; }
.stat {
  flex: 1;
  padding: 16px 12px;
  border-right: var(--border-w) solid var(--schwarz);
  display: flex; flex-direction: column; gap: 4px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: "Sagace", system-ui, sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--blau);
  line-height: 1;
}
.stat-lbl {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--text3);
  text-transform: lowercase;
}

/* === SECTION TAG === */
.section-tag {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--schwarz);
  color: var(--weiss);
  padding: 4px 11px;
  border-radius: var(--pill-r);
  line-height: 1.5;
}

/* === TEAM AVATARER (forside) === */
.team-member { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--schwarz);
  display: block;
}
.team-member strong { font-family: 'Space Mono', monospace; font-size: 0.72rem; font-weight: 400; line-height: 1.3; }
.team-member p { font-size: 0.78rem; color: var(--text2); margin: 0; line-height: 1.5; }

/* === QUOTE KARRUSEL === */
.carousel-quotes { position: relative; min-height: 80px; }
.carousel-quote { display: none; }
.carousel-quote.is-active { display: block; }
.carousel-quote p { font-style: italic; font-size: 0.88rem; line-height: 1.6; margin: 0 0 8px; }
.carousel-quote cite { font-family: 'Space Mono', monospace; font-size: 0.66rem; color: var(--text2); font-style: normal; }
.carousel-dots { display: flex; gap: 6px; margin-top: 14px; }
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(30,30,30,0.15);
  border: 1.5px solid var(--schwarz);
  cursor: pointer; padding: 0;
  transition: background 0.2s;
}
.carousel-dot.is-active { background: var(--schwarz); }

/* === SIDEBAR LOGOS === */
.sidebar-logos { display: flex; flex-direction: column; gap: 10px; }
.sidebar-logos img { height: 36px; width: auto; object-fit: contain; opacity: 0.35; filter: grayscale(1); transition: opacity 0.2s, filter 0.2s; }
.sidebar-logos img:hover { opacity: 0.85; filter: none; }

.sidebar-logos--large { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.sidebar-logos--large img { height: auto; width: 100%; aspect-ratio: 2/1; object-fit: contain; padding: 16px 12px; border: 0.75px solid rgba(30,30,30,0.12); }

/* === MARQUEE BAND === */
.marquee-band {
  overflow: hidden;
  border-top: var(--border-w) solid var(--schwarz);
  border-bottom: var(--border-w) solid var(--schwarz);
  background: var(--gelb);
  padding: 11px 0;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--schwarz);
  align-items: center;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% / var(--marquee-copies, 8))); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* === CTA BAND (mørk) === */
.cta-band {
  background: var(--schwarz);
  padding: 52px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: var(--border-w) solid var(--schwarz);
}
.cta-band h2 { color: var(--weiss); margin: 0; }
.cta-band-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* === FLOATING CIRCLE (seekicks-stil) === */
.float-circle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: var(--blau);
  color: var(--weiss);
  border: 2px solid var(--schwarz);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: lowercase;
  text-decoration: none;
  cursor: inherit;
  transition: background 0.18s ease, color 0.18s ease;
  animation: floatCircle 6s ease-in-out infinite;
  padding: 16px;
  background-clip: padding-box;
}
.float-circle:hover { background: var(--gelb); color: var(--schwarz); animation: none; }
@keyframes floatCircle { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* === MODAL OVERLAY (blå, seekicks-stil) === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--blau);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none !important; }
.modal-inner { width: 100%; max-width: 960px; position: relative; }
.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  color: var(--weiss);
  background: transparent;
  border: var(--border-w) solid rgba(255,255,255,0.5);
  border-radius: var(--pill-r);
  padding: 0.32rem 1.1rem;
  cursor: inherit;
  text-transform: lowercase;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.modal-close:hover { background: var(--gelb); color: var(--schwarz); border-color: var(--gelb); }
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: var(--border-w) solid rgba(255,255,255,0.3);
  margin-top: 48px;
}
.modal-col {
  padding: 32px;
  border-right: var(--border-w) solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-col:last-child { border-right: none; }
.modal-col h2 { color: var(--weiss); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.modal-col p  { color: rgba(255,255,255,0.72); }
.modal-link {
  display: block;
  font-family: "Sagace", system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--weiss);
  text-transform: lowercase;
  line-height: 1.1;
  transition: color 0.15s ease;
}
.modal-link:hover { color: var(--gelb); }
.modal-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 3rem;
  font-weight: 700;
  color: var(--weiss);
  text-transform: lowercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.modal-tagline span { color: var(--gelb); }

/* === SPLASH SCREEN === */
#splash {
  position: fixed; inset: 0;
  background: var(--schwarz);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.25s ease-out;
}
#splash.slide-out-left { transform: translateX(-100%); }
#splash-logo {
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 400;
  text-transform: lowercase;
  color: var(--weiss);
  border: 2px solid var(--weiss);
  border-radius: var(--pill-r);
  padding: 14px 36px;
  letter-spacing: -0.01em;
}
#splash-logo .logo-black { color: var(--weiss); }
#splash-logo .logo-blue  { color: var(--gelb); }
@media (prefers-reduced-motion: reduce) {
  #splash { transition: opacity 0.3s ease-out; }
  #splash.slide-out-left { transform: none; opacity: 0; }
}

/* === FOOTER === */
.site-footer {
  background: var(--schwarz);
  border-top: var(--border-w) solid var(--schwarz);
  padding: 20px 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.site-footer a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.site-footer a:hover { color: var(--gelb); }

/* === MOBILE OVERLAY === */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.08);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10010;
}
.mobile-overlay.show { opacity: 1; pointer-events: all; }
body.no-scroll { overflow: hidden; touch-action: none; }

/* === MOBILMENU === */
@media (max-width: 780px) {
  .menu-toggle { display: flex; }

  .site-nav,
  .nav-right {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 80%; max-width: 320px;
    background: var(--weiss);
    border-left: var(--border-w) solid var(--schwarz);
    padding: calc(70px + env(safe-area-inset-top)) 20px 32px;
    flex-direction: column; align-items: flex-start; gap: 8px;
    transition: right 0.38s cubic-bezier(0.22,1,0.36,1);
    z-index: 10020;
    display: flex;
  }
  .site-nav.show,
  .nav-right.show { right: 0; }

  .site-nav a,
  .nav-right .nav-pill,
  .nav-right .pill {
    font-size: 1rem; width: 100%;
    padding: 0.6rem 1.2rem;
    opacity: 0; transform: translateX(16px);
    transition: 0.35s ease, background 0.15s, color 0.15s;
  }
  .site-nav.show a,
  .nav-right.show .nav-pill,
  .nav-right.show .pill { opacity: 1; transform: none; }

  .nav-right.show .nav-pill:nth-child(1) { transition-delay: .04s }
  .nav-right.show .nav-pill:nth-child(2) { transition-delay: .08s }
  .nav-right.show .nav-pill:nth-child(3) { transition-delay: .12s }
  .nav-right.show .nav-pill:nth-child(4) { transition-delay: .16s }

  /* Editorial grid: stacked */
  .editorial-grid { grid-template-columns: 1fr; min-height: auto; }
  .ed-col { border-right: none; border-bottom: var(--border-w) solid var(--schwarz); }
  .ed-col:last-child { border-bottom: none; }

  /* Modal grid: stacked */
  .modal-grid { grid-template-columns: 1fr; }
  .modal-col { border-right: none; border-bottom: var(--border-w) solid rgba(255,255,255,0.3); }
  .modal-col:last-child { border-bottom: none; }
  .modal-tagline { font-size: 2rem; }

  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 20px; }
  .float-circle { width: 7rem; height: 7rem; font-size: 0.65rem; bottom: 16px; right: 16px; }
}

/* === INDRE SIDE-LAYOUT (Ydelser, Om, Kontakt) === */
.page-hero {
  border-bottom: var(--border-w) solid var(--schwarz);
  padding: 56px 24px 48px;
}
.page-hero--green   { background: var(--gruen); }
.page-hero--lavender{ background: var(--hellblau); }
.page-hero--yellow  { background: var(--gelb); }
.page-hero--salmon  { background: var(--lachs); }
.page-hero--pistachio{ background: var(--pistazie); }
.page-hero--dark    { background: var(--schwarz); }
.page-hero--dark h1,
.page-hero--dark p  { color: var(--weiss); }

/* To-kolonne layout til inderside */
.two-col-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-bottom: var(--border-w) solid var(--schwarz);
}
.two-col-grid > * {
  border-right: var(--border-w) solid var(--schwarz);
  padding: 36px 28px;
}
.two-col-grid > *:last-child { border-right: none; }
@media (max-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr; }
  .two-col-grid > * { border-right: none; border-bottom: var(--border-w) solid var(--schwarz); }
  .two-col-grid > *:last-child { border-bottom: none; }
}

/* Indholds-sektioner */
.content-block {
  border-bottom: var(--border-w) solid var(--schwarz);
  padding: 48px 24px;
  background: var(--weiss);
}
.content-block--green    { background: var(--gruen); }
.content-block--pistachio{ background: var(--pistazie); }
.content-block--lavender { background: var(--hellblau); }
.content-block--grey     { background: var(--hell-grau); }
.content-block--salmon   { background: var(--lachs); }
.content-block--dark     { background: var(--schwarz); }
.content-block--dark h1,
.content-block--dark h2,
.content-block--dark h3,
.content-block--dark p { color: var(--weiss); }
.content-block:last-child { border-bottom: none; }

.section-inner { max-width: 1100px; margin: 0 auto; }

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  padding: 28px;
  border-right: var(--border-w) solid var(--schwarz);
  border-bottom: var(--border-w) solid var(--schwarz);
  background: var(--weiss);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.15s ease;
}
.service-card:hover { background: var(--gruen); }
.service-card:nth-child(3n) { border-right: none; }
.service-card h3 { margin: 0; }
.service__bullets { padding-left: 18px; margin: 4px 0 0; color: var(--text2); font-size: 0.9rem; line-height: 1.8; }
.service__cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; }
  .service-card:nth-child(3n) { border-right: none; }
}

/* === FORMULAR === */
.contact-form { display: grid; gap: 16px; max-width: 560px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: 'Space Mono', monospace; font-size: 0.78rem; text-transform: lowercase; color: var(--schwarz); }
.form-field input,
.form-field textarea {
  padding: 13px 16px;
  border: var(--border-w) solid var(--schwarz);
  border-radius: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  background: var(--weiss);
  color: var(--schwarz);
  transition: background 0.15s ease;
  appearance: none;
}
.form-field input:hover,
.form-field textarea:hover { background: var(--hell-gelb); }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 2px rgba(0,0,255,0.14); background: var(--weiss); }
.form-field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

/* === CV / OM-SIDE === */
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--border-w) solid var(--schwarz); }
.cv-card {
  padding: 28px;
  border-right: var(--border-w) solid var(--schwarz);
  border-bottom: var(--border-w) solid var(--schwarz);
  background: var(--weiss);
  transition: background 0.15s ease;
}
.cv-card:last-child { border-right: none; }
.cv-card:hover { background: var(--pistazie); }
.cv-card h3 { margin-bottom: 16px; }
.cv-person + .cv-person { margin-top: 16px; padding-top: 14px; border-top: var(--border-w) solid var(--schwarz); }
.cv-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.cv-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.cv-when { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--text3); }
.cv-what strong { font-weight: 600; color: var(--schwarz); }
.cv-what span { font-size: 0.88rem; color: var(--text3); }
.cv-card__micros { display: flex; gap: 6px; margin-bottom: 8px; }
.cv-card__micro {
  --m: 30px;
  width: var(--m); height: var(--m); border-radius: 50%;
  background: var(--hell-grau);
  border: var(--border-w) solid var(--schwarz);
  overflow: hidden; position: relative; display: block; color: transparent;
}
.cv-card__micro::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.cv-avatar {
  --s: 26px; width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--hell-grau); border: var(--border-w) solid var(--schwarz);
  overflow: hidden; position: relative; display: block; color: transparent;
}
.cv-avatar::before { content: ""; position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; background-size: cover; }
@media (max-width: 768px) { .cv-grid { grid-template-columns: 1fr; } .cv-card { border-right: none; } }

/* === PORTRAIT === */
.portrait {
  --size: clamp(100px, 12vw, 150px);
  width: var(--size); height: var(--size);
  border-radius: 50%;
  border: 2px solid var(--schwarz);
  background: var(--hell-grau); background-size: cover; background-position: center;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; color: transparent;
}
.portrait::before { content:""; position:absolute; inset:0; background-image:inherit; background-size:inherit; background-position:inherit; }
.about-intro__grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,640px) minmax(0,1fr);
  gap: 24px; align-items: center;
}
.portrait--left  { justify-self: start; }
.portrait--right { justify-self: end; }
@media (max-width: 880px) {
  .about-intro__grid { grid-template-columns: 1fr; gap: 16px; }
  .portrait--left, .portrait--right { margin: 0 auto; }
}

/* === CONFETTI === */
.about-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.about-confetti span {
  position: absolute; opacity: .25; font-weight: 800;
  font-size: clamp(18px, 2.2vw, 28px); color: var(--schwarz);
  animation: floatY 9s ease-in-out infinite;
}
.about-confetti span:nth-child(1){ top:18%; left:6%;  animation-delay:0s }
.about-confetti span:nth-child(2){ top:12%; right:8%; animation-delay:.9s }
.about-confetti span:nth-child(3){ top:64%; left:10%; animation-delay:.4s }
.about-confetti span:nth-child(4){ top:70%; right:12%; animation-delay:1.2s }
.about-confetti span:nth-child(5){ top:38%; left:48%; animation-delay:.6s }
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* === VALUES GRID === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-w) solid var(--schwarz);
}
.value-card {
  padding: 28px;
  border-right: var(--border-w) solid var(--schwarz);
  border-bottom: var(--border-w) solid var(--schwarz);
  background: var(--weiss);
  transition: background 0.15s ease;
}
.value-card:nth-child(3n) { border-right: none; }
.value-card:hover { background: var(--hellblau); }
.value__icon { font-size: 22px; margin-bottom: 10px; }
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-card { border-right: none; }
}

/* === METHOD LIST === */
.method {
  list-style: none; padding: 0; margin: 0;
  border-top: var(--border-w) solid var(--schwarz);
}
.method li {
  padding: 20px 24px;
  border-bottom: var(--border-w) solid var(--schwarz);
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--weiss);
  transition: background 0.15s ease;
}
.method li:last-child { border-bottom: none; }
.method li:hover { background: var(--gelb); }
.method-num { font-family: 'Space Mono', monospace; font-size: 0.75rem; color: var(--blau); min-width: 2.5ch; margin-top: 4px; }

/* === LOGO MARQUEE (kundelogoer) === */
.logo-marquee {
  overflow: hidden;
  border-top: var(--border-w) solid var(--schwarz);
  border-bottom: var(--border-w) solid var(--schwarz);
  padding: 16px 0;
  background: var(--weiss);
  -webkit-mask: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logo-marquee__track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.logo-marquee__track:hover { animation-play-state: paused; }
.logo-marquee__item { display: flex; align-items: center; flex-shrink: 0; }
.logo-marquee__item img { height: 56px; width: auto; max-width: 180px; opacity: 0.3; filter: grayscale(1); transition: opacity 0.2s, filter 0.2s; }
.logo-marquee__item img:hover { opacity: 0.85; filter: none; }

/* === TESTIMONIALS === */
.testimonials-rotator {
  display: grid; grid-template-areas: "stack";
  max-width: 640px; margin: 0 auto;
}
.testimonial {
  grid-area: stack;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 8px 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.testimonial.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testimonial blockquote {
  margin: 0; font-family: "Sagace", system-ui, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 500; font-style: italic; line-height: 1.5;
  color: var(--schwarz); quotes: "\201C" "\201D";
}
.testimonial blockquote::before { content: open-quote; }
.testimonial blockquote::after  { content: close-quote; }
.testimonial figcaption { font-family: 'Space Mono', monospace; font-size: 0.75rem; color: var(--text3); }
.testimonial figcaption span { color: var(--blau); }
.testimonials-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.testimonials-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border: var(--border-w) solid var(--schwarz);
  cursor: inherit; padding: 0; transition: all 0.22s ease;
}
.testimonials-dot.is-active { background: var(--blau); border-color: var(--blau); width: 24px; border-radius: 4px; }
.testimonials-dot:hover:not(.is-active) { background: var(--gelb); }

/* === REVEAL ANIMATION === */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal--up { transform: translateY(20px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; transform: none !important; }
  .float-circle, .about-confetti span { animation: none !important; }
}

/* === FOKUS / TILGÆNGELIGHED === */
.nav-pill:focus-visible,
.pill:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }

/* === HERO ROTATOR (Ydelser baggrundsbillede) === */
.page-hero--with-rotator {
  position: relative;
  overflow: hidden;
  color: var(--weiss);
  padding: 72px 24px 56px;
  border-bottom: var(--border-w) solid var(--schwarz);
}
.page-hero--with-rotator::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,30,30,0.6) 0%, rgba(30,30,30,0.35) 100%);
  z-index: 1;
}
.page-hero--with-rotator > * { position: relative; z-index: 2; }
.hero-rotator { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-rotator__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1200ms ease, transform 8000ms ease; will-change: opacity, transform; }
.hero-rotator__layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-rotator__layer.is-active { opacity: 1; transform: scale(1.04); }
.page-hero--with-rotator h1 { color: var(--weiss); }

/* === MISC BAGUD-COMPAT === */
.container { max-width: 1100px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 48px 0; border-top: var(--border-w) solid var(--schwarz); }
.section--tight { padding: 36px 0; }
.section--alt { background: var(--hell-grau); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ledeblack { font-size: 1.05rem; color: var(--text2); max-width: 64ch; line-height: 1.72; }
.ledewhite { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 64ch; line-height: 1.72; }
.lede      { font-size: 1.05rem; color: var(--text2); max-width: 64ch; line-height: 1.72; }
.hotwordalt { background: linear-gradient(100deg, var(--schwarz) 0%, var(--blau) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
