/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

:root {
  --habicht-blue: #1799d3;
  --habicht-blue-deep: #137eb1;
  --habicht-blue-dark: #0f6f9d;
  --habicht-ink: #2b2b2b;
  --habicht-soft: #6a6f74;
  --habicht-paper: #ffffff;
  --habicht-mist: #eef8fc;
  --habicht-line: rgba(23, 153, 211, 0.18);
  --habicht-line-strong: rgba(23, 153, 211, 0.34);
  --habicht-shadow: 0 28px 90px rgba(15, 111, 157, 0.18);
  --habicht-soft-shadow: 0 18px 54px rgba(20, 42, 56, 0.1);
  --habicht-radius-lg: 2rem;
  --habicht-radius-md: 1.35rem;
  --habicht-menu-x: calc(100vw - 2.85rem);
  --habicht-menu-y: 2.85rem;
}

#header.habicht-menu-shell {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
  pointer-events: none;
}

body.header-transparent #header.habicht-menu-shell,
body.header-transparent.scrolled #header.habicht-menu-shell,
body.scrolled #header.habicht-menu-shell {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.habicht-menu {
  position: static;
  z-index: 1000;
  pointer-events: auto;
}

.habicht-menu__toggle {
  position: fixed;
  top: clamp(1rem, 2.4vw, 1.7rem);
  right: clamp(1rem, 2.4vw, 1.7rem);
  z-index: 1002;
  width: 3.7rem;
  height: 3.7rem;
  display: grid;
  place-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(23, 153, 211, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 253, 0.9)),
    #fff;
  box-shadow: 0 18px 44px rgba(20, 42, 56, 0.16);
  cursor: pointer;
  pointer-events: auto;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.habicht-menu__toggle:hover,
.habicht-menu__toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--habicht-blue);
  box-shadow: 0 22px 52px rgba(15, 111, 157, 0.22);
}

.habicht-menu__toggle span {
  position: absolute;
  width: 1.55rem;
  height: 2px;
  border-radius: 999px;
  background: var(--habicht-blue);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    background 220ms ease;
}

.habicht-menu__toggle span:nth-child(1) {
  transform: translateY(-0.45rem);
}

.habicht-menu__toggle span:nth-child(3) {
  transform: translateY(0.45rem);
}

body.habicht-menu-open .habicht-menu__toggle {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 54px rgba(7, 74, 105, 0.28);
}

body.habicht-menu-open .habicht-menu__toggle span {
  background: #fff;
}

body.habicht-menu-open .habicht-menu__toggle span:nth-child(1) {
  transform: rotate(45deg);
}

body.habicht-menu-open .habicht-menu__toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

body.habicht-menu-open .habicht-menu__toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.habicht-menu__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: none;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at calc(100% - 3rem) 3rem, rgba(255, 255, 255, 0.2), transparent 14rem),
    radial-gradient(circle at 16% 82%, rgba(255, 255, 255, 0.12), transparent 20rem),
    linear-gradient(135deg, var(--habicht-blue) 0%, #1194cc 45%, var(--habicht-blue-deep) 100%);
  clip-path: circle(0 at var(--habicht-menu-x) var(--habicht-menu-y));
  opacity: 0;
  pointer-events: none;
  transition:
    clip-path 560ms cubic-bezier(0.72, 0, 0.18, 1),
    opacity 260ms ease;
}

.habicht-menu__overlay::before {
  content: "";
  position: absolute;
  inset: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2rem;
  pointer-events: none;
}

body.habicht-menu-open {
  overflow: hidden;
}

body.habicht-menu-open .habicht-menu__overlay {
  clip-path: circle(160vmax at var(--habicht-menu-x) var(--habicht-menu-y));
  opacity: 1;
  pointer-events: auto;
}

.habicht-menu__inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  display: grid;
  justify-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  opacity: 0;
  transform: translateY(1.2rem) scale(0.98);
  transition:
    opacity 320ms ease 130ms,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1) 110ms;
}

body.habicht-menu-open .habicht-menu__inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.habicht-menu__logo {
  display: inline-flex;
  width: clamp(5.4rem, 12vw, 7.8rem);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.habicht-menu__logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(7, 74, 105, 0.22));
}

.habicht-menu__nav,
.habicht-menu__nav ul,
.habicht-menu__nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.habicht-menu__nav ul.navigation {
  display: grid;
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.habicht-menu__nav li::before {
  display: none;
}

.habicht-menu__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 18px 34px rgba(7, 74, 105, 0.16);
  transition:
    color 180ms ease,
    transform 180ms ease,
    text-shadow 180ms ease;
}

.habicht-menu__nav a:hover,
.habicht-menu__nav a:focus-visible,
.habicht-menu__nav a.active {
  color: #fff;
  transform: translateY(-0.08em);
  text-shadow: 0 22px 42px rgba(7, 74, 105, 0.28);
}

.habicht-menu__nav ul ul {
  display: none;
}

@media (max-width: 860px) {
  .habicht-menu__toggle {
    inset: auto auto auto 50% !important;
    top: calc(100vh - 5rem) !important;
    top: calc(100dvh - 5rem) !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    width: 4rem;
    height: 4rem;
    display: grid;
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%);
  }

  .habicht-menu__toggle:hover,
  .habicht-menu__toggle:focus-visible {
    transform: translateX(-50%) translateY(-2px);
  }

  .habicht-menu__overlay {
    padding: clamp(1.5rem, 7vw, 2.5rem);
  }

  .habicht-menu__overlay::before {
    inset: 0.75rem;
    border-radius: 1.35rem;
  }

  .habicht-menu__inner {
    gap: 1.7rem;
  }

  .habicht-menu__nav a {
    font-size: clamp(2rem, 11vw, 3.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .habicht-menu__overlay,
  .habicht-menu__inner,
  .habicht-menu__toggle,
  .habicht-menu__toggle span {
    transition-duration: 1ms !important;
  }
}

body.habicht-home {
  min-width: 320px;
  background:
    radial-gradient(circle at 9% 18%, rgba(23, 153, 211, 0.12), transparent 24rem),
    radial-gradient(circle at 94% 44%, rgba(19, 126, 177, 0.1), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7fcff 42%, #ffffff 100%);
  color: var(--habicht-ink);
}

body.habicht-home #page-wrapper,
body.habicht-home main {
  overflow-x: clip;
}

body.habicht-home #start,
body.habicht-home #body-wrapper {
  padding: 0;
}

body.habicht-home .container,
body.habicht-home .habicht-container {
  width: min(1160px, calc(100vw - 3rem));
  margin-inline: auto;
}

body.habicht-home .habicht-home {
  position: relative;
  overflow: hidden;
  font-family: "Inter", system-ui, sans-serif;
}

body.habicht-home .habicht-home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(23, 153, 211, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 153, 211, 0.1) 1px, transparent 1px);
  background-size: 4.2rem 4.2rem;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  z-index: 0;
}

body.habicht-home .habicht-home > section {
  position: relative;
  z-index: 1;
}

body.habicht-home .habicht-hero {
  min-height: clamp(34rem, 74svh, 48rem);
  display: grid;
  place-items: center;
  padding: clamp(5rem, 9vw, 7.5rem) 0 clamp(8rem, 13vw, 12rem);
  color: #fff;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.24), transparent 17rem),
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.16), transparent 20rem),
    linear-gradient(145deg, var(--habicht-blue) 0%, #0f96cf 42%, var(--habicht-blue-deep) 100%);
  isolation: isolate;
}

body.habicht-home .habicht-hero::before {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2.4rem;
  pointer-events: none;
  z-index: -1;
}

body.habicht-home .habicht-hero__content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100vw - 2rem));
  display: grid;
  place-items: center;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  text-align: center;
  animation: habicht-rise 700ms ease-out both;
}

body.habicht-home .habicht-hero__content::before,
body.habicht-home .habicht-hero__content::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

body.habicht-home .habicht-hero__content::before {
  width: min(78vw, 45rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1.35rem rgba(255, 255, 255, 0.035);
}

body.habicht-home .habicht-hero__content::after {
  width: min(54vw, 30rem);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(40px);
}

body.habicht-home .habicht-mark {
  width: min(58vw, 420px);
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 24px 38px rgba(7, 74, 105, 0.26));
}

body.habicht-home .habicht-hero h1 {
  margin: 0;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: 0.105em;
  text-indent: 0.105em;
  text-shadow: 0 18px 34px rgba(7, 74, 105, 0.2);
}

body.habicht-home .habicht-intro {
  z-index: 2;
  margin-top: clamp(-6.8rem, -8vw, -4.2rem);
  padding: 0 0 clamp(3.25rem, 6vw, 5.5rem);
  text-align: center;
}

body.habicht-home .habicht-intro .habicht-container {
  position: relative;
  width: min(1040px, calc(100vw - 3rem));
  padding: clamp(2.1rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 4rem);
  border: 1px solid rgba(23, 153, 211, 0.16);
  border-radius: var(--habicht-radius-lg);
  background:
    linear-gradient(135deg, rgba(23, 153, 211, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
  box-shadow: var(--habicht-shadow);
  backdrop-filter: blur(18px);
}

body.habicht-home .habicht-intro .habicht-container::after {
  content: "";
  position: absolute;
  inset: auto 2rem -0.7rem 2rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(23, 153, 211, 0.2);
  filter: blur(18px);
  z-index: -1;
}

body.habicht-home .habicht-kicker {
  max-width: 16ch;
  margin: 0 auto 1.25rem;
  color: var(--habicht-blue);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: 0.05em;
}

body.habicht-home .habicht-intro__lead {
  width: min(800px, 100%);
  margin-inline: auto;
  color: #3c444a;
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.86;
  font-weight: 520;
}

body.habicht-home .habicht-intro__lead p {
  margin: 0;
  color: #3c444a;
}

body.habicht-home .habicht-services {
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
}

body.habicht-home .habicht-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.2rem);
}

body.habicht-home .habicht-service-card {
  position: relative;
  min-height: 18.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1.2rem, 2.1vw, 1.7rem);
  border: 1px solid rgba(23, 153, 211, 0.16);
  border-radius: var(--habicht-radius-md);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 253, 0.84)),
    #fff;
  box-shadow: var(--habicht-soft-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

body.habicht-home .habicht-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(23, 153, 211, 0.15), transparent 38%),
    radial-gradient(circle at 88% 14%, rgba(23, 153, 211, 0.16), transparent 7rem);
  opacity: 0.75;
}

body.habicht-home .habicht-service-card:hover {
  transform: translateY(-0.35rem);
  border-color: var(--habicht-line-strong);
  box-shadow: 0 24px 68px rgba(15, 111, 157, 0.18);
}

body.habicht-home .habicht-service-card > * {
  position: relative;
  z-index: 1;
}

body.habicht-home .habicht-service-card i {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 1rem;
  background: var(--habicht-blue);
  box-shadow: 0 14px 32px rgba(23, 153, 211, 0.26);
  color: #fff;
  font-size: 1.28rem;
}

body.habicht-home .habicht-service-card h3 {
  margin: clamp(2.8rem, 5vw, 4.5rem) 0 0.75rem;
  color: var(--habicht-ink);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

body.habicht-home .habicht-service-card p {
  margin: 0;
  color: var(--habicht-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

body.habicht-home .habicht-advantages {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

body.habicht-home .habicht-advantages .habicht-container {
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border-radius: calc(var(--habicht-radius-lg) + 0.6rem);
  background:
    linear-gradient(140deg, rgba(23, 153, 211, 0.18), rgba(255, 255, 255, 0.15)),
    var(--habicht-mist);
}

body.habicht-home .habicht-advantages__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
}

body.habicht-home .habicht-advantages__copy,
body.habicht-home .habicht-advantages__list {
  border: 1px solid rgba(23, 153, 211, 0.16);
  border-radius: var(--habicht-radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(15, 111, 157, 0.08);
}

body.habicht-home .habicht-advantages__copy {
  display: grid;
  align-content: center;
  min-height: 27rem;
  padding: clamp(2rem, 5vw, 4.2rem);
  text-align: left;
}

body.habicht-home .habicht-advantages__copy h2 {
  max-width: 12ch;
  margin: 0 0 1.2rem;
  color: var(--habicht-blue);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.025em;
}

body.habicht-home .habicht-advantages__copy p {
  max-width: 62ch;
  margin: 0;
  color: var(--habicht-soft);
  font-size: clamp(1rem, 1.2vw, 1.11rem);
  line-height: 1.86;
}

body.habicht-home .habicht-advantages__list {
  padding: clamp(1rem, 2vw, 1.35rem);
}

body.habicht-home .habicht-checklist {
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

body.habicht-home .habicht-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: clamp(1rem, 2vw, 1.25rem);
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(23, 153, 211, 0.13);
}

body.habicht-home .habicht-checklist i {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: rgba(23, 153, 211, 0.12);
  color: var(--habicht-blue);
  font-size: 0.83rem;
}

body.habicht-home .habicht-checklist span {
  color: var(--habicht-ink);
  line-height: 1.65;
}

body.habicht-home .habicht-showcase {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

body.habicht-home .habicht-showcase .habicht-container {
  position: relative;
}

body.habicht-home .habicht-showcase .habicht-container::before {
  content: attr(data-watermark);
  position: absolute;
  top: -2.4rem;
  left: -0.1rem;
  color: rgba(23, 153, 211, 0.08);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

body.habicht-home .habicht-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) 3.4rem;
  align-items: center;
  gap: clamp(0.55rem, 1.4vw, 1.1rem);
}

body.habicht-home .habicht-rail {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(23, 153, 211, 0.17);
  border-radius: calc(var(--habicht-radius-lg) + 0.2rem);
  background:
    linear-gradient(135deg, rgba(23, 153, 211, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.8);
  box-shadow: var(--habicht-shadow);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

body.habicht-home .habicht-rail::-webkit-scrollbar {
  display: none;
}

body.habicht-home .habicht-slide {
  scroll-snap-align: center;
  flex: 0 0 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  min-height: clamp(24rem, 54vw, 42rem);
  padding: 0.25rem;
  opacity: 0.42;
  transform: scale(0.955);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.habicht-home .habicht-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

body.habicht-home .habicht-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--habicht-radius-md);
  background: #f4f8fa;
  box-shadow: 0 24px 70px rgba(20, 42, 56, 0.16);
  transform: scale(0.985);
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms ease,
    box-shadow 420ms ease;
}

body.habicht-home .habicht-slide.is-active img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1);
  box-shadow: 0 30px 86px rgba(20, 42, 56, 0.2);
}

body.habicht-home .habicht-carousel.is-sliding .habicht-slide.is-active img {
  animation: habicht-slide-focus 620ms ease both;
}

body.habicht-home .habicht-slide--print img,
body.habicht-home .habicht-slide--digital img,
body.habicht-home .habicht-slide--interior img {
  aspect-ratio: 16 / 10;
}

body.habicht-home .habicht-slide__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.2rem 0.15rem 0;
  opacity: 0;
  transform: translateY(0.55rem);
  transition:
    opacity 320ms ease,
    transform 420ms ease;
}

body.habicht-home .habicht-slide.is-active .habicht-slide__caption {
  opacity: 1;
  transform: translateY(0);
}

body.habicht-home .habicht-slide__caption span {
  color: var(--habicht-blue);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.habicht-home .habicht-slide__caption strong {
  color: var(--habicht-ink);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: right;
}

body.habicht-home .habicht-arrow {
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(23, 153, 211, 0.18);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 42, 56, 0.1);
  color: var(--habicht-blue);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

body.habicht-home .habicht-arrow:hover,
body.habicht-home .habicht-arrow:focus-visible {
  transform: translateY(-2px);
  border-color: var(--habicht-blue);
  background: var(--habicht-blue);
  color: #fff;
}

body.habicht-home .habicht-carousel::after {
  content: "";
  position: absolute;
  inset: 0 4.5rem;
  border-radius: calc(var(--habicht-radius-lg) + 0.2rem);
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.62) 50%, transparent 66%);
  transform: translateX(-35%);
}

body.habicht-home .habicht-carousel.is-sliding::after {
  animation: habicht-carousel-sheen 620ms ease-out both;
}

body.habicht-home .habicht-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding-top: 1rem;
}

body.habicht-home .habicht-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(23, 153, 211, 0.22);
  transition: width 180ms ease, background 180ms ease;
}

body.habicht-home .habicht-dots .is-active {
  width: 2rem;
  background: var(--habicht-blue);
}

.habicht-contact {
  color: #fff;
  background: var(--habicht-blue-deep);
}

#footer.habicht-site-footer {
  position: relative;
  overflow: hidden;
  border-top: 0;
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(1.2rem, 2.5vw, 1.8rem);
  color: #fff;
  font-size: 1rem;
  text-align: left;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, var(--habicht-blue) 0%, #0f96cf 42%, var(--habicht-blue-deep) 100%);
}

#footer.habicht-site-footer::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.7rem;
  pointer-events: none;
  z-index: 0;
}

#footer.habicht-site-footer .habicht-container {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100vw - 3rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: end;
}

.habicht-footer__brand {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
}

.habicht-footer-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.habicht-footer-logo img {
  display: block;
  height: clamp(1.45rem, 2.4vw, 2.15rem);
  width: auto;
}

.habicht-footer__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

#footer.habicht-site-footer h2 {
  max-width: 12em;
  margin: 0;
  color: #fff;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
}

.habicht-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.habicht-footer__cta i {
  font-size: 0.8rem;
  transition: transform 180ms ease;
}

.habicht-footer__cta:hover,
.habicht-footer__cta:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.habicht-footer__cta:hover i,
.habicht-footer__cta:focus-visible i {
  transform: translateX(0.16rem);
}

.habicht-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  align-self: center;
}

.habicht-footer__person {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.2rem;
  min-height: 0;
  margin: 0;
  padding: 0.95rem 0 0;
  overflow: visible;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.habicht-footer__person h3,
.habicht-footer__person a {
  position: relative;
  z-index: 1;
}

.habicht-footer__person h3 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
}

.habicht-footer__person a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.55;
  text-decoration: none;
}

.habicht-footer__person a span {
  overflow-wrap: anywhere;
}

.habicht-footer__person a i {
  width: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

#footer.habicht-site-footer a:not(.habicht-footer__cta):hover,
#footer.habicht-site-footer a:not(.habicht-footer__cta):focus-visible {
  color: #fff;
}

.habicht-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.6rem;
  margin-top: clamp(1rem, 3vw, 1.8rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.habicht-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.habicht-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  justify-content: flex-end;
}

.habicht-contact__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  text-decoration: none;
}

.habicht-contact__links a:hover,
.habicht-contact__links a:focus-visible {
  color: #fff;
}

body.habicht-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.habicht-legal-page #body-wrapper {
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    linear-gradient(180deg, #f6fbfe 0%, #fff 52%, #f6fbfe 100%);
}

body.habicht-legal-page #body-wrapper > .container {
  width: min(920px, calc(100vw - 3rem));
}

body.habicht-legal-page #body-wrapper > .container > .content-item {
  position: relative;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(23, 153, 211, 0.16);
  border-radius: var(--habicht-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--habicht-soft-shadow);
}

body.habicht-legal-page #body-wrapper > .container > .content-item::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(23, 153, 211, 0.14);
  border-radius: calc(var(--habicht-radius-lg) - 0.55rem);
  pointer-events: none;
}

body.habicht-legal-page .content-item h1,
body.habicht-legal-page .content-item h2,
body.habicht-legal-page .content-item p {
  position: relative;
}

body.habicht-legal-page .content-item h1 {
  margin: 0 0 clamp(1.6rem, 4vw, 2.4rem);
  color: var(--habicht-ink);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.025em;
}

body.habicht-legal-page .content-item h2 {
  margin: clamp(1.7rem, 4vw, 2.45rem) 0 0.65rem;
  color: var(--habicht-blue-deep);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
}

body.habicht-legal-page .content-item p {
  max-width: 72ch;
  margin: 0 0 1rem;
  color: var(--habicht-soft);
  font-size: 1rem;
  line-height: 1.75;
}

body.habicht-legal-page .content-item strong {
  color: var(--habicht-ink);
}

body.habicht-legal-page .content-item a {
  color: var(--habicht-blue-deep);
  font-weight: 700;
  text-decoration-color: rgba(23, 153, 211, 0.34);
  text-underline-offset: 0.18em;
}

body.habicht-home.habicht-effects-ready .habicht-reveal,
body.habicht-reference-page.habicht-effects-ready .habicht-reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(2rem) scale(0.985);
  transition:
    opacity 650ms ease,
    filter 800ms ease,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--habicht-reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

body.habicht-home.habicht-effects-ready .habicht-reveal.is-visible,
body.habicht-reference-page.habicht-effects-ready .habicht-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

body.habicht-home.habicht-effects-ready .habicht-service-card.habicht-reveal,
body.habicht-home.habicht-effects-ready .habicht-checklist li.habicht-reveal,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-card.habicht-reveal,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-detail-hero__image.habicht-reveal,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-story__services.habicht-reveal,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-gallery figure.habicht-reveal {
  transform: translateY(2.2rem) rotateX(7deg) scale(0.97);
  transform-origin: 50% 100%;
}

body.habicht-home.habicht-effects-ready .habicht-service-card.habicht-reveal.is-visible,
body.habicht-home.habicht-effects-ready .habicht-checklist li.habicht-reveal.is-visible,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-card.habicht-reveal.is-visible,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-detail-hero__image.habicht-reveal.is-visible,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-story__services.habicht-reveal.is-visible,
body.habicht-reference-page.habicht-effects-ready .habicht-ref-gallery figure.habicht-reveal.is-visible {
  transform: translateY(0) rotateX(0) scale(1);
}

@keyframes habicht-rise {
  from {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes habicht-carousel-sheen {
  0% {
    opacity: 0;
    transform: translateX(-35%);
  }
  30% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(35%);
  }
}

@keyframes habicht-slide-focus {
  0% {
    transform: scale(0.985);
  }
  48% {
    transform: scale(1.018);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.habicht-home *,
  body.habicht-home *::before,
  body.habicht-home *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  body.habicht-home.habicht-effects-ready .habicht-reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 1040px) {
  body.habicht-home .habicht-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.habicht-home .habicht-advantages__grid,
  #footer.habicht-site-footer .habicht-container {
    grid-template-columns: 1fr;
  }

  .habicht-contact__links {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  body.habicht-home .container,
  body.habicht-home .habicht-container,
  body.habicht-home .habicht-intro .habicht-container {
    width: min(100vw - 1.35rem, 1160px);
  }

  body.habicht-home .habicht-home::before {
    background-size: 2.6rem 2.6rem;
  }

  body.habicht-home .habicht-hero {
    min-height: 31rem;
    padding-block: 4.5rem 8rem;
  }

  body.habicht-home .habicht-hero::before {
    inset: 0.7rem;
    border-radius: 1.4rem;
  }

  body.habicht-home .habicht-mark {
    width: min(72vw, 330px);
  }

  body.habicht-home .habicht-intro {
    margin-top: -5.4rem;
  }

  body.habicht-home .habicht-kicker {
    max-width: 12ch;
    letter-spacing: 0.035em;
  }

  body.habicht-home .habicht-service-grid,
  .habicht-contact__grid {
    grid-template-columns: 1fr;
  }

  body.habicht-home .habicht-service-card {
    min-height: 15.5rem;
  }

  body.habicht-home .habicht-advantages__copy {
    min-height: auto;
  }

  body.habicht-home .habicht-carousel {
    grid-template-columns: 1fr;
  }

  body.habicht-home .habicht-carousel::after {
    inset-inline: 0;
  }

  body.habicht-home .habicht-arrow {
    display: none;
  }

  body.habicht-home .habicht-rail {
    padding: 0.85rem;
  }

  body.habicht-home .habicht-slide {
    min-height: 21rem;
  }

  body.habicht-home .habicht-slide__caption {
    display: grid;
    justify-items: start;
  }

  body.habicht-home .habicht-slide__caption strong {
    text-align: left;
  }

  .habicht-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .habicht-footer__person {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  body.habicht-home .habicht-hero__content::before {
    width: min(92vw, 36rem);
    box-shadow: inset 0 0 0 0.7rem rgba(255, 255, 255, 0.035);
  }
}

@media (max-width: 460px) {
  body.habicht-home .habicht-intro .habicht-container,
  body.habicht-home .habicht-advantages .habicht-container {
    border-radius: 1.35rem;
  }

  body.habicht-home .habicht-mark {
    width: min(62vw, 330px);
  }

  body.habicht-home .habicht-service-card,
  body.habicht-home .habicht-advantages__copy,
  body.habicht-home .habicht-advantages__list,
  body.habicht-home .habicht-rail,
  body.habicht-home .habicht-slide img {
    border-radius: 1.1rem;
  }

  #footer.habicht-site-footer .habicht-container {
    width: min(100vw - 1.35rem, 1160px);
  }

  .habicht-footer-logo {
    padding: 0.62rem 0.74rem;
  }

  .habicht-contact__links {
    justify-content: flex-start;
  }
}

body.habicht-reference-page {
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 12%, rgba(23, 153, 211, 0.12), transparent 25rem),
    radial-gradient(circle at 88% 44%, rgba(20, 42, 56, 0.08), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f6fbfe 48%, #ffffff 100%);
  color: var(--habicht-ink);
}

body.habicht-reference-page #page-wrapper,
body.habicht-reference-page main {
  overflow-x: clip;
}

body.habicht-reference-page #body-wrapper {
  padding-top: 0;
}

body.habicht-reference-page .habicht-container {
  width: min(1160px, calc(100vw - 3rem));
  margin-inline: auto;
}

body.habicht-reference-page .habicht-references,
body.habicht-reference-page .habicht-reference {
  position: relative;
  overflow: hidden;
  font-family: "Inter", system-ui, sans-serif;
}

body.habicht-reference-page .habicht-references::before,
body.habicht-reference-page .habicht-reference::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(23, 153, 211, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 153, 211, 0.1) 1px, transparent 1px);
  background-size: 4.2rem 4.2rem;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  z-index: 0;
}

body.habicht-reference-page .habicht-references > section,
body.habicht-reference-page .habicht-reference > section,
body.habicht-reference-page .habicht-ref-back {
  position: relative;
  z-index: 1;
}

body.habicht-reference-page .habicht-ref-hero {
  padding: clamp(8.5rem, 13vw, 12.5rem) 0 clamp(4.4rem, 8vw, 7rem);
  color: #fff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.2), transparent 17rem),
    linear-gradient(145deg, var(--habicht-blue) 0%, #0f96cf 44%, var(--habicht-blue-deep) 100%);
  isolation: isolate;
}

body.habicht-reference-page .habicht-ref-hero::before,
body.habicht-reference-page .habicht-ref-detail-hero::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 2.2rem;
  pointer-events: none;
  z-index: -1;
}

body.habicht-reference-page .habicht-ref-hero .habicht-container {
  max-width: 900px;
  text-align: center;
}

body.habicht-reference-page .habicht-ref-kicker {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.habicht-reference-page .habicht-ref-hero h1,
body.habicht-reference-page .habicht-ref-detail-hero h1 {
  margin: 0;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.045em;
}

body.habicht-reference-page .habicht-ref-hero p:last-child,
body.habicht-reference-page .habicht-ref-detail-hero__copy > p:last-child {
  width: min(720px, 100%);
  margin: 1.35rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.8;
  font-weight: 520;
}

body.habicht-reference-page .habicht-ref-overview {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
}

body.habicht-reference-page .habicht-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.7rem);
}

body.habicht-reference-page .habicht-ref-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(23, 153, 211, 0.16);
  border-radius: var(--habicht-radius-lg);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 253, 0.84)),
    #fff;
  box-shadow: var(--habicht-soft-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

body.habicht-reference-page .habicht-ref-card:hover {
  transform: translateY(-0.35rem);
  border-color: var(--habicht-line-strong);
  box-shadow: 0 24px 68px rgba(15, 111, 157, 0.18);
}

body.habicht-reference-page .habicht-ref-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9f5fb;
}

body.habicht-reference-page .habicht-ref-card__image img,
body.habicht-reference-page .habicht-ref-detail-hero__image img,
body.habicht-reference-page .habicht-ref-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.habicht-reference-page .habicht-ref-card__image img {
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

body.habicht-reference-page .habicht-ref-card:hover .habicht-ref-card__image img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}

body.habicht-reference-page .habicht-ref-card__body {
  display: grid;
  align-content: start;
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
}

body.habicht-reference-page .habicht-ref-card__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--habicht-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.habicht-reference-page .habicht-ref-card h2 {
  margin: 0 0 0.75rem;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.02em;
}

body.habicht-reference-page .habicht-ref-card h2 a {
  color: var(--habicht-ink);
  text-decoration: none;
}

body.habicht-reference-page .habicht-ref-card h2 a:hover,
body.habicht-reference-page .habicht-ref-card h2 a:focus-visible {
  color: var(--habicht-blue);
}

body.habicht-reference-page .habicht-ref-card__body > p:not(.habicht-ref-card__eyebrow) {
  margin: 0;
  color: var(--habicht-soft);
  line-height: 1.74;
}

body.habicht-reference-page .habicht-ref-card ul,
body.habicht-reference-page .habicht-ref-story__services ul {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.habicht-reference-page .habicht-ref-card li,
body.habicht-reference-page .habicht-ref-story__services li {
  display: inline-flex;
  align-items: center;
  list-style: none;
  border: 1px solid rgba(23, 153, 211, 0.18);
  border-radius: 999px;
  background: rgba(23, 153, 211, 0.08);
  color: var(--habicht-blue-dark);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.2;
  padding: 0.48rem 0.72rem;
}

body.habicht-reference-page .habicht-ref-card li::marker,
body.habicht-reference-page .habicht-ref-story__services li::marker {
  content: "";
}

body.habicht-reference-page .habicht-ref-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.45rem;
  color: var(--habicht-blue);
  font-weight: 820;
  text-decoration: none;
}

body.habicht-reference-page .habicht-ref-link i {
  transition: transform 180ms ease;
}

body.habicht-reference-page .habicht-ref-link:hover,
body.habicht-reference-page .habicht-ref-link:focus-visible {
  color: var(--habicht-blue-deep);
}

body.habicht-reference-page .habicht-ref-link:hover i,
body.habicht-reference-page .habicht-ref-link:focus-visible i {
  transform: translateX(0.2rem);
}

body.habicht-reference-page .habicht-ref-back .habicht-ref-link:hover i,
body.habicht-reference-page .habicht-ref-back .habicht-ref-link:focus-visible i {
  transform: translateX(-0.2rem);
}

body.habicht-reference-page .habicht-ref-detail-hero {
  padding: clamp(7.5rem, 12vw, 11.5rem) 0 clamp(4.2rem, 8vw, 6.8rem);
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.19), transparent 18rem),
    linear-gradient(145deg, var(--habicht-blue) 0%, #0f96cf 44%, var(--habicht-blue-deep) 100%);
  isolation: isolate;
}

body.habicht-reference-page .habicht-ref-detail-hero .habicht-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1.4rem, 4vw, 3.6rem);
  align-items: center;
}

body.habicht-reference-page .habicht-ref-detail-hero__copy {
  min-width: 0;
}

body.habicht-reference-page .habicht-ref-detail-hero__copy .habicht-ref-kicker {
  color: rgba(255, 255, 255, 0.86);
}

body.habicht-reference-page .habicht-ref-detail-hero__copy > p:last-child {
  margin-left: 0;
  margin-right: 0;
}

body.habicht-reference-page .habicht-ref-detail-hero__image {
  position: relative;
  aspect-ratio: 16 / 11;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--habicht-radius-lg);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 86px rgba(7, 74, 105, 0.28);
}

body.habicht-reference-page .habicht-ref-story {
  padding: clamp(3.6rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.4rem);
}

body.habicht-reference-page .habicht-ref-story .habicht-container {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(18rem, 0.32fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: start;
}

body.habicht-reference-page .habicht-ref-story__text {
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border: 1px solid rgba(23, 153, 211, 0.14);
  border-radius: var(--habicht-radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 54px rgba(20, 42, 56, 0.08);
}

body.habicht-reference-page .habicht-ref-story__text h2 {
  margin: 0 0 0.9rem;
  color: var(--habicht-blue);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

body.habicht-reference-page .habicht-ref-story__text p {
  margin: 0;
  color: var(--habicht-soft);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.86;
}

body.habicht-reference-page .habicht-ref-story__services {
  padding: clamp(1.15rem, 2.3vw, 1.65rem);
  border: 1px solid rgba(23, 153, 211, 0.16);
  border-radius: var(--habicht-radius-md);
  background: #fff;
  box-shadow: var(--habicht-soft-shadow);
}

body.habicht-reference-page .habicht-ref-story__services ul {
  margin-top: 0;
}

body.habicht-reference-page .habicht-ref-gallery {
  padding: 0 0 clamp(3.8rem, 7vw, 6.5rem);
}

body.habicht-reference-page .habicht-ref-gallery .habicht-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.2rem);
}

body.habicht-reference-page .habicht-ref-gallery figure {
  min-height: 18rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 153, 211, 0.15);
  border-radius: var(--habicht-radius-md);
  background: #f0f8fc;
  box-shadow: 0 18px 50px rgba(20, 42, 56, 0.1);
}

body.habicht-reference-page .habicht-ref-gallery figure:nth-child(1) {
  grid-column: span 4;
  min-height: clamp(22rem, 40vw, 34rem);
}

body.habicht-reference-page .habicht-ref-gallery figure:nth-child(2) {
  grid-column: span 2;
  min-height: clamp(22rem, 40vw, 34rem);
}

body.habicht-reference-page .habicht-ref-gallery figure:nth-child(n+3) {
  grid-column: span 3;
}

body.habicht-reference-page .habicht-ref-gallery figure {
  position: relative;
}

body.habicht-reference-page .habicht-ref-gallery figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  width: fit-content;
  max-width: calc(100% - 1.7rem);
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--habicht-ink);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.25;
  backdrop-filter: blur(12px);
}

body.habicht-reference-page .habicht-ref-back {
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

body.habicht-reference-page .habicht-ref-back .habicht-ref-link {
  margin-top: 0;
}

@media (max-width: 1040px) {
  body.habicht-reference-page .habicht-ref-grid,
  body.habicht-reference-page .habicht-ref-detail-hero .habicht-container,
  body.habicht-reference-page .habicht-ref-story .habicht-container {
    grid-template-columns: 1fr;
  }

  body.habicht-reference-page .habicht-ref-detail-hero__image {
    order: -1;
  }

  body.habicht-reference-page .habicht-ref-gallery figure:nth-child(1),
  body.habicht-reference-page .habicht-ref-gallery figure:nth-child(2),
  body.habicht-reference-page .habicht-ref-gallery figure:nth-child(n+3) {
    grid-column: span 6;
    min-height: clamp(19rem, 56vw, 31rem);
  }
}

@media (max-width: 760px) {
  body.habicht-reference-page .habicht-container {
    width: min(100vw - 1.35rem, 1160px);
  }

  body.habicht-reference-page .habicht-references::before,
  body.habicht-reference-page .habicht-reference::before {
    background-size: 2.6rem 2.6rem;
  }

  body.habicht-reference-page .habicht-ref-hero,
  body.habicht-reference-page .habicht-ref-detail-hero {
    padding-top: 7.5rem;
  }

  body.habicht-reference-page .habicht-ref-hero::before,
  body.habicht-reference-page .habicht-ref-detail-hero::before,
  body.habicht-reference-page .habicht-ref-card,
  body.habicht-reference-page .habicht-ref-detail-hero__image,
  body.habicht-reference-page .habicht-ref-story__text,
  body.habicht-reference-page .habicht-ref-story__services,
  body.habicht-reference-page .habicht-ref-gallery figure {
    border-radius: 1.2rem;
  }

  body.habicht-reference-page .habicht-ref-card__body {
    padding: 1.2rem;
  }

  body.habicht-reference-page .habicht-ref-gallery .habicht-container {
    grid-template-columns: 1fr;
  }

  body.habicht-reference-page .habicht-ref-gallery figure:nth-child(1),
  body.habicht-reference-page .habicht-ref-gallery figure:nth-child(2),
  body.habicht-reference-page .habicht-ref-gallery figure:nth-child(n+3) {
    grid-column: auto;
  }
}
