/* ==========================================================================
   NASHORN – Kontakt
   Dark full-bleed hero, form rising over it, dark product panel.
   Field labels come from the static pages.css form grammar.
   ========================================================================== */

.np-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.np-status {
  margin: 0;
  color: var(--text-dark);
}

/* Static pages.css hides every [hidden] control. .ko__show sets display,
   which would otherwise override the user-agent hidden rule. */
.ko [hidden] {
  display: none !important;
}

.ko {
  --ko-hero: 76vh;
  --ko-travel: 420px;
  --ko-overlap: 108px;
  --ko-panel: 460ms cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: 136px;
}

.ko__pin {
  height: calc(var(--ko-hero) + var(--ko-travel));
  margin-bottom: 0;
}

.ko__hero {
  position: sticky;
  top: var(--header-h);
  z-index: 1;
  height: var(--ko-hero);
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
}

.ko__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ko__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
}

.ko__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--navy-900) 84%, var(--nashorn-blue) 16%);
  opacity: 0.84;
}

.ko__hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 56px;
  padding-bottom: calc(var(--ko-overlap) + 52px);
}

.ko__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: end;
  gap: 32px 48px;
}

.ko .eyebrow::before {
  margin-left: 4px;
}

.ko__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: var(--display-weight, 500);
  line-height: var(--lh-tight);
  letter-spacing: var(--display-tracking, -0.034em);
  text-transform: none;
}

.ko__title span {
  display: block;
}

.ko__routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 36px;
  align-items: start;
  margin: 0;
  padding-top: 36px;
}

.ko__routes h2 {
  margin: 0 0 8px;
  color: #7FB8E6;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ko__routes p {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.ko__routes .ko__fax {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0;
}

.ko__routes a {
  color: inherit;
  text-decoration: none;
}

.ko__routes a:hover,
.ko__routes a:focus-visible {
  color: #7FB8E6;
}

.ko__place {
  justify-self: end;
  max-width: 16em;
  text-align: right;
}

.ko__place p {
  margin: 0;
}

.ko__place-name {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ko__place p:not(.ko__place-name) {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

.ko__hours {
  padding: 24px 0 24px 20px;
  border-left: 1px solid #7FB8E6;
  background: rgba(1, 73, 142, 0.22);
}

.ko__hours h2 {
  color: #9FCBEF;
}

.ko__hours p {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.45;
}

.ko__form-wrap {
  position: relative;
  z-index: 2;
  margin-top: calc((var(--ko-travel) + var(--ko-overlap)) * -1);
}

.ko__sheet {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow:
    0 28px 80px rgba(8, 18, 32, 0.16),
    0 6px 18px rgba(8, 18, 32, 0.05);
}

.ko__body {
  display: block;
}

.ko__main {
  width: 100%;
  min-width: 0;
  padding: 32px 40px 32px;
  transition: width var(--ko-panel);
}

.ko__sheet.has-summary:not(.is-collapsed) .ko__main {
  width: 70%;
}

.ko__form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.ko__form-title {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ko__empty {
  margin: 0;
  color: #3E4E5C;
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.ko__empty a,
.ko__show {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: var(--nashorn-blue);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  background: none;
  border: 0;
  cursor: pointer;
}

.ko__empty a .icon {
  width: 14px;
  height: 14px;
}

.ko__empty a:hover,
.ko__empty a:focus-visible,
.ko__show:hover,
.ko__show:focus-visible {
  color: var(--navy-900);
}

.ko__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}

.ko__span {
  grid-column: 1 / -1;
}

.ko .np-field input:not([type="checkbox"]),
.ko .np-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
}

.ko .np-field textarea {
  min-height: 168px;
  resize: vertical;
}

.ko .np-field input:focus,
.ko .np-field textarea:focus {
  outline: none;
  border-bottom-color: var(--nashorn-blue);
}

.ko .np-field input:focus-visible,
.ko .np-field textarea:focus-visible {
  outline: 2px solid var(--nashorn-blue);
  outline-offset: 4px;
}

.ko .np-field.is-invalid input:not([type="checkbox"]),
.ko .np-field.is-invalid textarea {
  border-bottom-color: #8d3b3b;
}

.ko__consent {
  margin-top: 28px;
}

.ko .ko__check {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: start;
  margin-bottom: 0;
  color: #3E4E5C;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
  cursor: pointer;
}

.ko .ko__check input {
  position: absolute;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.ko__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid var(--navy-900);
  background: transparent;
  pointer-events: none;
}

.ko__box::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
  opacity: 0;
}

.ko__check input:checked + .ko__box {
  background: var(--navy-900);
}

.ko__check input:checked + .ko__box::after {
  opacity: 1;
}

.ko__check input:focus-visible + .ko__box,
.ko__check input:focus + .ko__box {
  outline: 2px solid var(--nashorn-blue);
  outline-offset: 3px;
}

.ko__consent.is-invalid .ko__box {
  border-color: #8d3b3b;
}

.ko__check-note {
  margin: 10px 0 0 30px;
  color: #3E4E5C;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ko__check-note a {
  color: var(--nashorn-blue);
}

.ko__check-note a:hover,
.ko__check-note a:focus-visible {
  color: var(--navy-900);
}

.ko__main .btn {
  width: 100%;
  margin-top: 28px;
}

.ko__main .np-status {
  max-width: 62ch;
  margin: 12px 0 0;
  color: #3E4E5C;
  font-size: 0.82rem;
  line-height: 1.45;
}

.ko__picks {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
  opacity: 0.4;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform var(--ko-panel), opacity var(--ko-panel), visibility 0s linear 460ms;
}

.ko__sheet.has-summary:not(.is-collapsed) .ko__picks {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: transform var(--ko-panel), opacity var(--ko-panel), visibility 0s;
}

.ko__picks-in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ko__picks-head {
  flex: none;
  padding: 28px 22px 14px;
}

.ko__picks h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}

.ko__count {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ko__picks-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ko__edit,
.ko__hide,
.ko__clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  background: none;
  border: 0;
  cursor: pointer;
}

.ko__edit .icon,
.ko__hide .icon,
.ko__clear svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ko__hide .icon {
  transform: rotate(180deg);
}

.ko__clear.is-armed {
  color: #fff;
}

.ko__edit:hover,
.ko__edit:focus-visible,
.ko__hide:hover,
.ko__hide:focus-visible,
.ko__clear:hover,
.ko__clear:focus-visible {
  color: #fff;
}

.ko__edit:focus-visible,
.ko__hide:focus-visible,
.ko__clear:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

.ko__list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 22px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-width: none;
}

.ko__list-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.ko__list-scroll:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: -4px;
}

.ko__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ko__pick {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ko__pick img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
}

.ko__name {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ko__sku {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.ko__total {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ko__colors {
  display: grid;
  gap: 5px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.ko__colors li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}

.ko__chip {
  width: 12px;
  height: 12px;
  background-color: transparent;
  background-image: var(--swatch);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ko__note {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .ko__hero-grid {
    opacity: 1 !important;
    filter: none !important;
  }

  .ko__main,
  .ko__picks,
  .ko__sheet.has-summary.is-collapsed .ko__picks {
    transition: none;
  }
}
