:root {
  --bg: #f4f5f6;
  --card: #ffffff;
  --charcoal-900: #1d2225;
  --charcoal-800: #282f32;
  --charcoal-700: #353d42;
  --teal: #1abc9c;
  --teal-soft: rgba(26, 188, 156, 0.18);
  --text: #282f32;
  --text-muted: #6a7785;
  --text-inverse: #ffffff;
  --text-inverse-muted: rgba(255, 255, 255, 0.78);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow: 0 20px 60px rgba(40, 47, 50, 0.18);
  font-family: "Heebo", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 760px;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand__mark {
  display: block;
  width: 32px;
  height: 32px;
}

.brand__logo {
  display: block;
  height: 32px;
  width: auto;
}

.lang {
  display: inline-flex;
  gap: 14px;
}

.lang__btn {
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 2px;
}

.lang__btn.is-active {
  color: var(--text);
  border-bottom: 2px solid var(--teal);
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 56px 72px;
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(26, 188, 156, 0.18),
      transparent 55%
    ),
    linear-gradient(135deg, var(--charcoal-900) 0%, var(--charcoal-700) 100%);
  color: var(--text-inverse);
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero__title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 18ch;
}

.hero__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-inverse-muted);
  max-width: 56ch;
  margin: 0 0 36px;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #ffffff;
  font-size: 13px;
  color: var(--text-muted);
}

.footer__links {
  display: inline-flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
}

.linklike:hover,
.linklike:focus-visible {
  color: var(--charcoal-900);
  text-decoration: underline;
  outline: none;
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 47, 50, 0.6);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  box-shadow: var(--shadow);
  animation: modal-in 0.18s ease-out;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #eef1f4;
}

.modal__head h2 {
  margin: 0;
  font-size: 22px;
  color: var(--charcoal-900);
}

.modal__close {
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.modal__close:hover,
.modal__close:focus-visible {
  background: #eef1f4;
  color: var(--charcoal-900);
  outline: none;
}

.modal__body {
  padding: 24px 28px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.modal__body h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--charcoal-900);
}

.modal__body address {
  font-style: normal;
  margin-bottom: 16px;
}

.modal__body a {
  color: var(--charcoal-900);
  text-decoration: underline;
}

.modal__note {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 44px 28px 52px;
  }
  .hero__title {
    font-size: 30px;
  }
  .topbar,
  .footer {
    padding: 16px 20px;
  }
  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Imprint i18n: show only the block matching <html lang> */
.imprint-body { display: none; }
html[lang="de"] .imprint-body[data-lang="de"],
html[lang="en"] .imprint-body[data-lang="en"] { display: block; }
