/*
 * 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-ink: #2b2b2b;
  --habicht-soft: #6a6f74;
  --habicht-border: rgba(23, 153, 211, 0.18);
  --habicht-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

body.habicht-home {
  background: #fff;
  color: var(--habicht-ink);
}

body.habicht-home #header,
body.habicht-home #footer {
  display: none;
}

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(1180px, calc(100vw - 3rem));
  margin-inline: auto;
}

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

body.habicht-home .habicht-hero {
  position: relative;
  min-height: 70svh;
  display: grid;
  place-items: center;
  background: var(--habicht-blue);
  color: #fff;
  padding: 6rem 0 5rem;
  isolation: isolate;
}

body.habicht-home .habicht-hero::after {
  content: "";
  position: absolute;
  left: -6vw;
  right: -6vw;
  bottom: -2.7vw;
  height: 11vw;
  background: #fff;
  clip-path: polygon(0 86%, 100% 48%, 100% 100%, 0 100%);
  z-index: 0;
}

body.habicht-home .habicht-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(920px, calc(100vw - 2rem));
  display: grid;
  place-items: center;
  gap: 1rem;
}

body.habicht-home .habicht-mark {
  width: min(64vw, 420px);
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

body.habicht-home .habicht-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

body.habicht-home .habicht-mark[aria-hidden="true"] {
  display: block;
}

body.habicht-home .habicht-hero h1 {
  margin: 0;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-indent: 0.08em;
}

body.habicht-home .habicht-intro {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 3.75rem;
  text-align: center;
}

body.habicht-home .habicht-kicker {
  margin: 0 0 1.2rem;
  color: var(--habicht-blue);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.6rem, 3.1vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0.12em;
}

body.habicht-home .habicht-intro__lead {
  width: min(920px, calc(100vw - 3rem));
  margin-inline: auto;
  color: var(--habicht-soft);
  font-size: clamp(1.03rem, 1.18vw, 1.12rem);
  line-height: 1.88;
}

body.habicht-home .habicht-intro__lead p {
  margin: 0;
}

body.habicht-home .habicht-services {
  padding: 0 0 4rem;
}

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

body.habicht-home .habicht-service-card {
  background: #fff;
  border: 1px solid rgba(23, 153, 211, 0.14);
  border-radius: 1rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
  padding: 1.35rem 1.25rem 1.4rem;
  text-align: left;
}

body.habicht-home .habicht-service-card i {
  color: var(--habicht-blue);
  font-size: 1.35rem;
  margin-bottom: 0.95rem;
}

body.habicht-home .habicht-service-card h3 {
  margin: 0 0 0.7rem;
  color: var(--habicht-ink);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

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

body.habicht-home .habicht-advantages {
  padding: 0 0 4.4rem;
}

body.habicht-home .habicht-advantages__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
}

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

body.habicht-home .habicht-advantages__copy h2 {
  margin: 0 0 1rem;
  color: var(--habicht-blue);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  letter-spacing: 0.06em;
  line-height: 1.08;
}

body.habicht-home .habicht-advantages__copy p {
  margin: 0;
  color: var(--habicht-soft);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.85;
}

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

body.habicht-home .habicht-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: rgba(23, 153, 211, 0.06);
  border: 1px solid rgba(23, 153, 211, 0.12);
}

body.habicht-home .habicht-checklist i {
  color: var(--habicht-blue);
  margin-top: 0.1rem;
}

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

body.habicht-home .habicht-showcase {
  padding: 1rem 0 4.5rem;
}

body.habicht-home .habicht-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

body.habicht-home .habicht-rail {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 1rem 0 1.75rem;
  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%;
  min-height: 30rem;
  display: grid;
  gap: 0.8rem;
  padding: 0.2rem;
}

body.habicht-home .habicht-slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.15rem;
  background: #f5f7f8;
  box-shadow: var(--habicht-shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.habicht-home .habicht-slide--print img {
  aspect-ratio: 5 / 3.15;
}

body.habicht-home .habicht-slide--digital img {
  aspect-ratio: 5 / 3.15;
}

body.habicht-home .habicht-slide--interior img {
  aspect-ratio: 5 / 3.15;
}

body.habicht-home .habicht-slide__caption {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  text-align: center;
  padding: 0.1rem 1rem 0;
}

body.habicht-home .habicht-slide__caption span {
  color: var(--habicht-soft);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.habicht-home .habicht-slide__caption strong {
  color: var(--habicht-ink);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

body.habicht-home .habicht-card,
body.habicht-home .habicht-doc,
body.habicht-home .habicht-panel {
  border-radius: 0.85rem;
  box-shadow: var(--habicht-shadow);
  background: #fff;
  border: 1px solid var(--habicht-border);
}

body.habicht-home .habicht-card {
  position: relative;
  padding: 1rem;
  min-height: 5.35rem;
  display: grid;
  align-content: end;
  overflow: hidden;
}

body.habicht-home .habicht-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(23, 153, 211, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(23, 153, 211, 0.04));
}

body.habicht-home .habicht-card--dark {
  background: var(--habicht-blue-deep);
  color: #fff;
}

body.habicht-home .habicht-card--dark::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.05));
}

body.habicht-home .habicht-card--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0.55rem;
  padding-top: 1.1rem;
  color: var(--habicht-blue-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.habicht-home .habicht-card--small {
  min-height: 6.2rem;
}

body.habicht-home .habicht-card__label,
body.habicht-home .habicht-card__meta {
  position: relative;
  z-index: 1;
  display: block;
}

body.habicht-home .habicht-card__label {
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

body.habicht-home .habicht-card__meta {
  font-size: 0.92rem;
  opacity: 0.78;
}

body.habicht-home .habicht-project--doc {
  grid-template-columns: minmax(0, 1.2fr);
}

body.habicht-home .habicht-doc {
  padding: 1.35rem 1.25rem 1.2rem;
  display: grid;
  gap: 1.4rem;
  background:
    linear-gradient(180deg, rgba(23, 153, 211, 0.03), transparent 30%),
    #fff;
}

body.habicht-home .habicht-doc__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--habicht-soft);
  text-transform: uppercase;
}

body.habicht-home .habicht-doc__body h3 {
  margin: 0 0 0.8rem;
  color: var(--habicht-blue);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 1.55rem;
}

body.habicht-home .habicht-doc__body p {
  margin: 0 0 1rem;
  color: var(--habicht-soft);
  line-height: 1.7;
}

body.habicht-home .habicht-doc__body ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--habicht-ink);
  line-height: 1.7;
}

body.habicht-home .habicht-project--panel {
  min-height: 28rem;
}

body.habicht-home .habicht-panel {
  padding: 1.5rem;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--habicht-blue-deep);
  color: #fff;
}

body.habicht-home .habicht-panel__mark {
  width: 5.1rem;
  height: 5.1rem;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 2.6rem;
}

body.habicht-home .habicht-panel strong {
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
}

body.habicht-home .habicht-panel p {
  max-width: 18rem;
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

body.habicht-home .habicht-arrow {
  width: 3.1rem;
  height: 3.1rem;
  border: 0;
  border-radius: 50%;
  background: #f1f4f7;
  color: var(--habicht-soft);
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

body.habicht-home .habicht-dots span {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 50%;
  background: rgba(23, 153, 211, 0.18);
}

body.habicht-home .habicht-dots .is-active {
  background: rgba(23, 153, 211, 0.55);
}

body.habicht-home .habicht-contact {
  padding: 2.4rem 0 2.8rem;
  background: var(--habicht-blue);
  color: #fff;
}

body.habicht-home .habicht-contact h2 {
  margin: 0 0 1.2rem;
  text-align: center;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.habicht-home .habicht-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  text-align: center;
}

body.habicht-home .habicht-contact__grid p {
  margin: 0 0 0.35rem;
  font-family: "Cal Sans", "Inter", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

body.habicht-home .habicht-contact__grid a,
body.habicht-home .habicht-contact__grid span {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

body.habicht-home .habicht-contact__links {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

body.habicht-home .habicht-contact__links a {
  color: #fff;
  opacity: 0.92;
}

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;
}

@media (max-width: 960px) {
  body.habicht-home .habicht-hero {
    min-height: 56svh;
    padding-block: 5rem 4.5rem;
  }

  body.habicht-home .habicht-hero::after {
    bottom: -3.4vw;
    height: 14vw;
  }

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

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

  body.habicht-home .habicht-rail {
    gap: 0;
  }

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

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

@media (max-width: 640px) {
  body.habicht-home .container,
  body.habicht-home .habicht-container {
    width: min(100vw - 1.5rem, 1180px);
  }

  body.habicht-home .habicht-kicker {
    letter-spacing: 0.08em;
  }

  body.habicht-home .habicht-rail {
    gap: 0;
  }

  body.habicht-home .habicht-slide__caption {
    padding-inline: 0.35rem;
  }

  body.habicht-home .habicht-service-card {
    padding: 1.15rem 1.05rem 1.2rem;
  }

  body.habicht-home .habicht-checklist li {
    padding: 0.85rem 0.9rem;
  }

  body.habicht-home .habicht-contact__links {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
  }
}
