:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f6f8fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: #172033;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.brand span {
  color: #315ee7;
}

.lang-switch {
  display: flex;
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: #778296;
  font-weight: 800;
  font-size: 12px;
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
}

.lang-switch button.active {
  background: #172033;
  color: #fff;
}

.hero {
  padding: 56px 0 40px;
}

h1 {
  font-size: clamp(44px, 6vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 0 16px;
}

.lead {
  max-width: 720px;
  color: #657188;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 0 80px;
}

.app-card {
  position: relative;
  min-height: 170px;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 20px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: 0.18s ease;
}

a.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(36, 53, 88, 0.10);
  border-color: #d4ddea;
}

.app-icon,
.icon-placeholder {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 26px rgba(30, 42, 70, 0.08);
}

.card-copy h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}

.card-copy p {
  margin: 0;
  color: #6a768a;
  line-height: 1.55;
}

.open {
  font-size: 20px;
  color: #315ee7;
  font-weight: 900;
  align-self: start;
}

.unavailable {
  opacity: 0.78;
}

.status {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #7b8596;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 44px;
  color: #8a94a7;
  font-size: 13px;
  border-top: 1px solid #e6eaf1;
}

/* StempelnOne */

.stempelnone-card {
  grid-template-columns: 1fr auto;
}

.stempelnone-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.stempelnone-logo {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 0 0 14px;
}

.stempelnone-brand p {
  margin: 0;
  color: #6a768a;
  line-height: 1.55;
}

/* Mobil */

@media (max-width: 760px) {
  .hero {
    padding: 42px 0 30px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-template-columns: 68px 1fr auto;
    min-height: 158px;
    padding: 20px;
  }

  .app-icon,
  .icon-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }

  .card-copy h2 {
    font-size: 22px;
  }

  .stempelnone-card {
    grid-template-columns: 1fr auto;
  }

  .stempelnone-logo {
    width: min(100%, 300px);
  }
}