@import url("https://fonts.googleapis.com/css2?family=Anton&family=Sora:wght@400;600;700;800&display=swap");

/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --bierheld-black: #141414;
  --bierheld-charcoal: #1a1c1c;
  --bierheld-orange: #ff8a00;
  --bierheld-orange-deep: #d96c00;
  --bierheld-cream: #f2eadc;
}

.bierheld-skin {
  background: var(--bierheld-black);
  color: #fef8f0;
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
}

.bierheld-display {
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  letter-spacing: 0;
}

.bierheld-texture {
  background-color: var(--bierheld-black);
  background-position: center;
  background-size: cover;
}

.bierheld-card {
  background: linear-gradient(180deg, rgba(28, 30, 30, 0.92), rgba(17, 17, 17, 0.96));
  border: 1px solid rgba(255, 138, 0, 0.26);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.bierheld-cta {
  background: linear-gradient(180deg, var(--bierheld-orange), var(--bierheld-orange-deep));
  border-radius: 6px;
  box-shadow: 0 0 8px 0 rgba(255, 138, 0, 0.24);
  color: #16120c;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
}

.bierheld-cta:hover {
  filter: brightness(1.08);
}

.bierheld-ghost {
  border: 1px solid rgba(255, 138, 0, 0.46);
  border-radius: 6px;
  color: #ffb45c;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
}

.bierheld-ghost:hover {
  background: rgba(255, 138, 0, 0.1);
  color: #ffd3a1;
}

.bierheld-link {
  color: rgba(254, 248, 240, 0.72);
}

.bierheld-link:hover {
  color: #ffb45c;
}

.bierheld-chat-button {
  overflow: visible;
  position: relative;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bierheld-chat-button--unread {
  animation: bierheld-chat-button-pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.24), 0 22px 44px rgba(20, 20, 20, 0.24);
}

.bierheld-chat-unread-cue {
  align-items: center;
  background: #141414;
  border: 2px solid #fef8f0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.22);
  color: #fef8f0;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.42rem;
  letter-spacing: 0;
  line-height: 1;
  padding: 0.48rem 0.7rem;
  pointer-events: none;
  position: absolute;
  right: 0.25rem;
  text-transform: uppercase;
  top: -0.85rem;
  transform: translateY(-50%);
  white-space: nowrap;
}

.bierheld-chat-unread-cue[hidden] {
  display: none !important;
}

.bierheld-chat-unread-cue__dot {
  animation: bierheld-chat-cue-dot-pulse 1.2s ease-in-out infinite;
  background: #ff8a00;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.2);
  flex: 0 0 auto;
  height: 0.55rem;
  width: 0.55rem;
}

@keyframes bierheld-chat-button-pulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes bierheld-chat-cue-dot-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

.bierheld-team-card {
  margin-inline: auto;
  max-width: 16rem;
  overflow: hidden;
  width: 100%;
}

.bierheld-team-card__photo {
  aspect-ratio: 200 / 237;
  background: #232323;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.bierheld-team-card__photo::after {
  background: linear-gradient(180deg, transparent 42%, rgba(20, 20, 20, 0.9));
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transition: opacity 600ms ease-in-out;
  z-index: 1;
}

.bierheld-team-card__image {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  transition: opacity 600ms ease-in-out, transform 600ms ease-in-out;
  width: 100%;
}

.bierheld-team-card__image--front {
  opacity: 1;
  transform: scale(1);
}

.bierheld-team-card__image--hover {
  opacity: 0;
  transform: scale(1.02);
}

.bierheld-team-card__caption {
  inset: auto 0 0;
  padding: 4rem 1rem 1.25rem;
  position: absolute;
  text-align: center;
  transition: opacity 600ms ease-in-out, transform 600ms ease-in-out;
  z-index: 2;
}

.bierheld-team-card__caption h3 {
  color: #fef8f0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
}

.bierheld-team-card__caption p {
  color: #ffb45c;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0.35rem 0 0;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .bierheld-team-card:hover .bierheld-team-card__image--front {
    opacity: 0;
    transform: scale(1.02);
  }

  .bierheld-team-card:hover .bierheld-team-card__image--hover {
    opacity: 1;
    transform: scale(1);
  }

  .bierheld-team-card:hover .bierheld-team-card__caption,
  .bierheld-team-card:hover .bierheld-team-card__photo::after {
    opacity: 0;
    transform: translateY(0.25rem);
  }
}

.bierheld-paper {
  background-color: #f4efe6;
  background-position: center;
  background-size: cover;
}

.bierheld-mobility {
  background-color: var(--bierheld-black);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(255, 138, 0, 0.24);
  color: #fef8f0;
  overflow: hidden;
  position: relative;
}

.bierheld-mobility::before {
  background: linear-gradient(100deg, transparent 0%, rgba(255, 138, 0, 0.11) 47%, transparent 70%);
  content: "";
  height: 100%;
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  transform: skewY(-6deg) translateY(-12%);
}

.bierheld-mobility__inner {
  align-items: center;
  display: grid;
  gap: 3rem;
  margin-inline: auto;
  max-width: 80rem;
  padding: 4rem 1rem;
  position: relative;
}

.bierheld-mobility__content {
  max-width: 39rem;
}

.bierheld-mobility__eyebrow {
  color: #ffb45c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bierheld-mobility__title {
  color: #fef8f0;
  font-size: 2.25rem;
  line-height: 1.08;
  margin-top: 1rem;
  text-transform: uppercase;
}

.bierheld-mobility__copy {
  color: rgba(254, 248, 240, 0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 1.35rem;
  max-width: 37rem;
}

.bierheld-mobility__proofs {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.bierheld-mobility__proof {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  gap: 0.8rem;
  min-height: 3.25rem;
  min-width: 0;
  padding: 0.85rem 1rem;
}

.bierheld-mobility__proof p {
  font-size: 0.88rem;
  font-weight: 800;
  hyphens: none;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: normal;
  text-transform: uppercase;
  word-break: normal;
}

.bierheld-mobility__proof-dot {
  background: #ff8a00;
  border-radius: 9999px;
  box-shadow: 0 0 0 0.38rem rgba(255, 138, 0, 0.16);
  flex: 0 0 auto;
  height: 0.58rem;
  width: 0.58rem;
}

.bierheld-mobility__cta {
  margin-top: 2rem;
}

.bierheld-mobility__stage {
  min-height: 31rem;
  position: relative;
}

.bierheld-mobility__beam {
  background: linear-gradient(140deg, transparent 8%, rgba(255, 138, 0, 0.18) 44%, transparent 72%);
  filter: blur(18px);
  inset: 12% 4% 16% 10%;
  opacity: 0.78;
  position: absolute;
  transform: rotate(-7deg);
}

.bierheld-device {
  background: linear-gradient(180deg, rgba(37, 39, 39, 0.98), rgba(13, 13, 13, 0.98));
  border: 1px solid rgba(255, 138, 0, 0.3);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), 0 0 44px rgba(255, 138, 0, 0.11);
  position: relative;
  transition: transform 500ms ease, box-shadow 500ms ease;
}

.bierheld-device--desktop {
  margin-right: auto;
  max-width: 36rem;
  padding: 0.75rem;
  width: 100%;
}

.bierheld-device--phone {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #252525, #070707 48%, #171717);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2rem;
  bottom: 0.2rem;
  box-shadow:
    inset 0 0 0 0.22rem #0b0b0b,
    inset 0 0 0 0.32rem rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.44),
    0 0 54px rgba(255, 138, 0, 0.14);
  isolation: isolate;
  max-width: 13.5rem;
  padding: 0.9rem 0.58rem 1rem;
  position: absolute;
  right: -3rem;
  width: 44%;
}

.bierheld-device--phone::before {
  background: linear-gradient(180deg, #050505, #1c1c1c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  content: "";
  height: 0.38rem;
  left: 50%;
  position: absolute;
  top: 0.42rem;
  transform: translateX(-50%);
  width: 2.6rem;
  z-index: 3;
}

.bierheld-device--phone::after {
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 24%, transparent 68%, rgba(255, 255, 255, 0.08));
  border-radius: inherit;
  content: "";
  inset: 0.18rem;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.bierheld-device__button {
  background: linear-gradient(180deg, #303030, #090909);
  border-radius: 9999px;
  position: absolute;
  width: 0.18rem;
  z-index: 0;
}

.bierheld-device__button--volume {
  height: 3.6rem;
  left: -0.16rem;
  top: 5.2rem;
}

.bierheld-device__button--power {
  height: 4.5rem;
  right: -0.16rem;
  top: 7.4rem;
}

.bierheld-mobility__stage:hover .bierheld-device--desktop {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44), 0 0 58px rgba(255, 138, 0, 0.16);
  transform: translateY(-0.35rem) rotateX(2deg) rotateY(-3deg);
}

.bierheld-mobility__stage:hover .bierheld-device--phone {
  box-shadow:
    inset 0 0 0 0.22rem #0b0b0b,
    inset 0 0 0 0.32rem rgba(255, 255, 255, 0.1),
    0 32px 78px rgba(0, 0, 0, 0.5),
    0 0 64px rgba(255, 138, 0, 0.2);
  transform: translateY(-0.6rem) rotate(1.5deg);
}

.bierheld-device__topbar {
  align-items: center;
  display: flex;
  gap: 0.38rem;
  height: 1.35rem;
}

.bierheld-device__topbar span {
  background: rgba(254, 248, 240, 0.36);
  border-radius: 9999px;
  height: 0.42rem;
  width: 0.42rem;
}

.bierheld-device__screen {
  background:
    linear-gradient(180deg, rgba(254, 248, 240, 0.08), transparent 35%),
    #111111;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.bierheld-device__screen--phone {
  aspect-ratio: 9 / 16;
  background: #0f1116;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.64);
  position: relative;
  z-index: 1;
}

.bierheld-device__screenshot {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.bierheld-device__screenshot--phone {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@keyframes bierheld-mobility-reveal {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .bierheld-mobility__content,
  .bierheld-mobility__stage {
    animation: bierheld-mobility-reveal both;
    animation-range: entry 10% cover 34%;
    animation-timeline: view();
  }
}

@media (min-width: 40rem) {
  .bierheld-mobility__inner {
    padding-inline: 1.5rem;
  }

  .bierheld-mobility__proofs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bierheld-mobility__proof p {
    font-size: 0.82rem;
  }

  .bierheld-mobility__title {
    font-size: 3rem;
  }
}

@media (min-width: 48rem) {
  .bierheld-mobility__inner {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

@media (min-width: 64rem) {
  .bierheld-mobility__inner {
    padding: 5rem 2rem;
  }
}

@media (max-width: 47.9375rem) {
  .bierheld-mobility__stage {
    min-height: auto;
  }

  .bierheld-device--desktop {
    margin-inline: auto;
  }

  .bierheld-device--phone {
    margin: -2.5rem 1rem 0 auto;
    position: relative;
    right: auto;
    width: 12rem;
  }
}

@media (max-width: 23rem) {
  .bierheld-device--phone {
    margin-top: 1rem;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bierheld-team-card__caption,
  .bierheld-team-card__image,
  .bierheld-team-card__photo::after,
  .bierheld-device,
  .bierheld-mobility__content,
  .bierheld-mobility__stage {
    animation: none;
    transition: none;
  }

  .bierheld-mobility__stage:hover .bierheld-device--desktop,
  .bierheld-mobility__stage:hover .bierheld-device--phone {
    transform: none;
  }
}

.bierheld-leaflet-map {
  background: #141414;
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  isolation: isolate;
  z-index: 0;
}

.bierheld-leaflet-map::after {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 138, 0, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.04), rgba(20, 20, 20, 0.24));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 450;
}

.bierheld-leaflet-map .leaflet-tile-pane {
  filter: saturate(0.62) sepia(0.38) hue-rotate(345deg) brightness(0.82) contrast(1.06);
}

.bierheld-leaflet-map .leaflet-control-zoom {
  border: 1px solid rgba(255, 138, 0, 0.38);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.bierheld-leaflet-map .leaflet-control-zoom a {
  background: rgba(20, 20, 20, 0.92);
  border-bottom-color: rgba(255, 138, 0, 0.2);
  color: #fef8f0;
}

.bierheld-leaflet-map .leaflet-control-zoom a:hover,
.bierheld-leaflet-map .leaflet-control-zoom a:focus {
  background: #ff8a00;
  color: #141414;
}

.bierheld-leaflet-map .leaflet-control-attribution {
  background: rgba(20, 20, 20, 0.8);
  color: rgba(254, 248, 240, 0.64);
  font-size: 0.68rem;
}

.bierheld-leaflet-map .leaflet-control-attribution a {
  color: #ffb45c;
}

.bierheld-client-location-active {
  background: rgba(255, 138, 0, 0.1);
  border-color: rgba(255, 138, 0, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 0, 0.16), 0 18px 38px rgba(0, 0, 0, 0.18);
}

.bierheld-leaflet-marker {
  background: #ff8a00;
  border: 3px solid rgba(254, 248, 240, 0.9);
  border-radius: 9999px;
  box-shadow: 0 0 0 8px rgba(255, 138, 0, 0.22), 0 12px 26px rgba(20, 20, 20, 0.42);
}

.bierheld-leaflet-marker-active {
  box-shadow: 0 0 0 11px rgba(255, 138, 0, 0.24), 0 16px 34px rgba(20, 20, 20, 0.5);
  z-index: 1000 !important;
}

.bierheld-leaflet-marker::after {
  background: rgba(20, 20, 20, 0.9);
  border-radius: 9999px;
  content: "";
  height: 0.35rem;
  inset: 50% auto auto 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 0.35rem;
}

.bierheld-leaflet-popup .leaflet-popup-content-wrapper {
  background: #f4efe6;
  border: 1px solid rgba(255, 138, 0, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.34);
}

.bierheld-leaflet-popup .leaflet-popup-tip {
  background: #f4efe6;
}

.bierheld-leaflet-popup .leaflet-popup-content {
  display: grid;
  gap: 0.2rem;
  margin: 0.75rem 0.9rem;
}

.bierheld-leaflet-popup .leaflet-popup-content strong {
  color: #141414;
  font-weight: 800;
}

.bierheld-leaflet-popup .leaflet-popup-content span {
  color: #59534a;
}

.prose {
  color: #3f3f46;
  font-size: 1rem;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2,
.prose h3 {
  color: #18181b;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2rem;
}

.prose h2 {
  font-size: 1.875rem;
}

.prose h3 {
  font-size: 1.5rem;
}

.prose a {
  color: #0f766e;
  font-weight: 600;
}

.bierheld-prose {
  color: #3f3328;
  font-size: 1rem;
  line-height: 1.85;
}

.bierheld-prose > * + * {
  margin-top: 1.25rem;
}

.bierheld-prose h2,
.bierheld-prose h3,
.bierheld-prose h4 {
  color: #141414;
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  margin-top: 2.5rem;
  text-transform: uppercase;
}

.bierheld-prose h2 {
  font-size: 2.5rem;
}

.bierheld-prose h3 {
  font-size: 1.95rem;
}

.bierheld-prose h4 {
  font-size: 1.35rem;
}

.bierheld-prose a {
  color: #d96c00;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(217, 108, 0, 0.34);
  text-underline-offset: 0.18em;
}

.bierheld-prose a:hover {
  color: #141414;
  text-decoration-color: rgba(20, 20, 20, 0.4);
}

.bierheld-prose strong {
  color: #141414;
  font-weight: 800;
}

.bierheld-prose blockquote {
  border-left: 0.28rem solid #ff8a00;
  color: #292724;
  font-size: 1.2rem;
  line-height: 1.75;
  padding-left: 1.25rem;
}

.bierheld-prose ul,
.bierheld-prose ol {
  padding-left: 1.4rem;
}

.bierheld-prose li + li {
  margin-top: 0.5rem;
}

.bierheld-prose img {
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(20, 20, 20, 0.13);
}

.bierheld-prose pre {
  background: #161818;
  border-radius: 8px;
  color: #fef8f0;
  overflow-x: auto;
  padding: 1rem;
}

.bierheld-prose code {
  background: rgba(20, 20, 20, 0.08);
  border-radius: 4px;
  color: #141414;
  padding: 0.12rem 0.28rem;
}

.bierheld-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.trix-content {
  min-height: 18rem;
}
