
/* === forsidens nav+footer === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.005em;
  border: none;
  border-radius: 20px 0 20px 0;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: var(--dark-blue); }
.btn-mint:hover { background: var(--cold-sand); }
.btn-ghost-light {
  background: transparent;
  color: var(--cold-sand);
  border: 1.5px solid var(--cs-line);
}
.btn-ghost-light:hover { background: var(--cold-sand); color: var(--dark-blue); border-color: var(--cold-sand); }
.btn-ghost-dark {
  background: transparent;
  color: var(--dark-blue);
  border: 1.5px solid var(--db-line);
}
.btn-ghost-dark:hover { background: var(--dark-blue); color: var(--cold-sand); }
.arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 34, 39, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  will-change: backdrop-filter;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
nav.is-scrolled {
  background: rgba(26, 34, 39, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo img { height: 36px; display: block; }
.footer-brand .zeit-logo { margin-bottom: 22px; }
.zm-logo { display:flex; align-items:center; }
.nav-logo .zm-logo-img { height:27.3px; width:auto; display:block; }
.footer-brand .zm-logo-img-foot { height:27.3px; width:auto; display:block; margin-bottom:22px; }
.btn.nav-login, .btn.mobile-login { border: 1.5px solid #fafafa; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 300;  white-space: nowrap;
}
.nav-links a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--mint);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta, .nav-login { padding: 11px 18px; font-size: 13px; }
@media (max-width: 900px) {
.nav-links { display: none; }
}
.cases-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 56px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
.cases-nav { gap: 16px; }
}
.booking-card-nav { display: flex; gap: 6px; }
.booking-card-nav-btn {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--db-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  cursor: pointer;
  transition: background .15s ease;
}
.booking-card-nav-btn:hover { background: rgba(26,34,39,0.16); }
footer {
  padding: 80px 0 36px;
  border-top: 1px solid var(--cs-line);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand img { height: 36px; margin-bottom: 22px; }
.footer-brand p { font-size: 13px; font-weight: 300; color: var(--cold-sand); max-width: 32ch; line-height: 1.5; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 22px;
  color: var(--mint);
  letter-spacing: normal;
  text-transform: none;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 13px; font-weight: 300; }
.footer-col a { color: var(--cold-sand); transition: color .2s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cs-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 12px;
  font-weight: 300;
  color: var(--cold-sand);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--cold-sand); transition: color .2s; }
.footer-legal a:hover { color: var(--mint); }
.footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  margin-top: 20px;
  border-radius: 50%;
  border: 1px solid var(--cs-line);
  color: var(--cold-sand);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.footer-social-link:hover { color: var(--dark-blue); background: var(--mint); border-color: var(--mint); }
.footer-cert {
  margin-top: 18px;
  font-size: 12px; font-weight: 300; color: var(--cold-sand);
  letter-spacing: 0.02em;
}
.footer-cert a { color: inherit; text-decoration: none; transition: color .2s ease; }
.footer-cert a:hover { color: var(--mint); }
@media (max-width: 900px) {
.footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
.footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
.nav-inner { padding: 16px 24px; }
}
.eyebrow,
.hero-scroll-cue,
.wordmarks-label,
.vp-eyebrow,
.partner-eyebrow,
.case-num,
.case-meta-on-img,
.product-eyebrow,
.footer-col h4 { letter-spacing: normal; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
.lang-switch button { background: none; border: 0; cursor: pointer; font: inherit; color: var(--cold-sand); padding: 4px 7px; border-radius: 8px 0 8px 0; transition: color .2s ease, background .2s ease; }
.lang-switch button:hover { color: var(--mint); }
.lang-switch button.active { color: var(--dark-blue); background: var(--mint); }
.lang-switch .lang-sep { color: var(--cs-line); }
.nav-right { display: flex; align-items: center; gap: 18px; }
@media (max-width: 720px) {
.nav-inner { padding: 14px 20px; }
.nav-right { gap: 12px; }
.nav-cta, .nav-login { padding: 10px 14px; font-size: 12px; }
.lang-switch { font-size: 11px; }
.lang-switch button { padding: 4px 5px; }
footer { padding: 60px 0 28px; }
.footer-top { padding-bottom: 36px; gap: 32px; }
.footer-bottom { flex-wrap: wrap; gap: 16px; font-size: 12px; }
}
.burger { display: none; }
.mobile-menu { display: none; }
@media (max-width: 900px) {
.nav-lang { display: none; }
.nav-login { display: none; }
.burger {
    display: inline-flex; flex-direction: column; justify-content: center;
    width: 38px; height: 38px; padding: 9px;
    background: transparent; border: 1.5px solid var(--cs-line);
    border-radius: 10px; cursor: pointer; gap: 5px;
  }
.burger span {
    display: block; height: 2px; width: 100%;
    background: var(--cold-sand); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    position: fixed; inset: 0;
    background: var(--dark-blue); z-index: 95;
    padding: 110px 24px 56px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 36px; width: 100%; margin: 0; position: static;
  }
.mobile-nav-links {
    display: flex; flex-direction: column; align-items: center;
    gap: 26px; margin: 0; padding: 0; position: static; flex: none; width: auto;
  }
.mobile-nav-links a {
    color: var(--cold-sand); text-decoration: none;
    font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
    transition: color .2s ease;
  }
.mobile-nav-links a:hover, .mobile-nav-links a:focus { color: var(--mint); }
.mobile-lang {
    margin: 0; gap: 14px; position: static; flex: none;
  }
.mobile-lang button { padding: 9px 18px; font-size: 14px; }
}
.nav-lang { gap: 7px; }
.footer-lang { gap: 12px; }
.footer-lang button {
  padding: 0; background: none !important; border: 0;
  border-radius: 4px; line-height: 0; cursor: pointer;
  opacity: 0.4; outline: 2px solid transparent; outline-offset: 3px;
  transition: opacity .2s ease, outline-color .2s ease;
}
.footer-lang button:hover { opacity: 1; }
.footer-lang button.active { opacity: 1; outline-color: var(--mint); }
.footer-lang svg { display: block; width: 26px; height: 19px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(250,250,250,0.25); }
.guarantee-cta .arrow { transition: transform .3s ease; }
.guarantee-cta:hover .arrow { transform: translateX(4px); }

/* Filosofi-afsnit (#tilgang): starter moerkeblaa, skifter til #fafafa ved scroll */
#tilgang { transition: background-color .55s ease, color .55s ease; }
#tilgang .eyebrow, #tilgang .sec-head .lead, #tilgang .text-scroll, #tilgang .princip p, #tilgang .h3 { transition: color .55s ease; }
#tilgang .text-scroll .ts-word { transition: opacity .25s linear, color .55s ease; }
#tilgang .princip .num { transition: transform .6s cubic-bezier(.2,.8,.2,1), color .55s ease; }
#tilgang.is-dark { background: var(--dark-blue); color: var(--cold-sand); }
#tilgang.is-dark .eyebrow { color: var(--mint); }
#tilgang.is-dark .sec-head .lead { color: var(--cold-sand); }
#tilgang.is-dark .text-scroll { color: var(--cold-sand); }
#tilgang.is-dark .princip .num { color: var(--mint); }
#tilgang.is-dark .princip p { color: var(--cold-sand); }

/* Smaa mikroanimationer paa illustrationerne (kun mint, kun transform) */
@media (prefers-reduced-motion: no-preference){
  .fcard-illu svg .zi-play,
  .fmt-stage svg .zi-play{
    transform-box: fill-box; transform-origin: center;
    animation: ziBreath 2.6s ease-in-out infinite;
  }
  .fcard-illu svg .zi-dot,
  .fmt-stage svg .zi-dot{
    transform-box: fill-box; transform-origin: center;
    animation: ziPulse 3.8s ease-in-out infinite;
  }
  .fcard-illu svg .zi-chevron,
  .fmt-stage svg .zi-chevron{ animation: ziBob 1.7s ease-in-out infinite; }
  .fcard-illu svg .zi-chevron2,
  .fmt-stage svg .zi-chevron2{ animation: ziBob 1.7s ease-in-out infinite; animation-delay: .12s; }
  .fcard-illu svg .zi-arrow,
  .fmt-stage svg .zi-arrow{ animation: ziNudge 1.6s ease-in-out infinite; }
}
@keyframes ziBreath{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.18); } }
@keyframes ziPulse{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.16); } }
@keyframes ziBob{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(8px); } }
@keyframes ziNudge{ 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(9px); } }
  /* Gen-aktiver illustrations-animationerne paa mobil (slaar den generelle mobil-daempning) */
  @media (max-width: 900px) and (prefers-reduced-motion: no-preference){
    .fcard-illu svg .zi-play, .fmt-stage svg .zi-play{ animation-duration: 2.6s !important; animation-iteration-count: infinite !important; }
    .fcard-illu svg .zi-dot, .fmt-stage svg .zi-dot{ animation-duration: 3.8s !important; animation-iteration-count: infinite !important; }
    .fcard-illu svg .zi-chevron, .fmt-stage svg .zi-chevron{ animation-duration: 1.7s !important; animation-iteration-count: infinite !important; }
    .fcard-illu svg .zi-chevron2, .fmt-stage svg .zi-chevron2{ animation-duration: 1.7s !important; animation-iteration-count: infinite !important; }
    .fcard-illu svg .zi-arrow, .fmt-stage svg .zi-arrow{ animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
  }


/* Hero-trampolin: mint-form der hopper til bunden og skifter cirkel <-> Zeit-form ved hvert nedslag */
.tramp{ position:absolute; top:120px; bottom:0; right:48px; width:130px; z-index:1; pointer-events:none; }
.tramp-shape{ position:absolute; left:50%; top:0; width:110px; height:110px; margin-left:-55px; transform-origin:bottom center; transition:transform .1s ease; will-change:top, transform; }
.tramp-shape.squash{ transform:scaleX(1.14) scaleY(0.8); }
.tramp-core{ display:block; width:100%; height:100%; background:var(--mint); border-radius:50%; transform-origin:center; transition:border-radius .18s ease; will-change:transform; }
.tramp-core.is-zeit{ border-radius:0 34px 0 34px; }
@media (max-width:1300px){ .tramp{ display:none; } }
@media (prefers-reduced-motion: reduce){ .tramp-shape{ transition:none; } .tramp-shape.squash{ transform:none; } }

