/* ── Reset ─────────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ──────────────────────────────────────────────────────────────────── */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f0f4f8;
  background-image:
    radial-gradient(ellipse at 15% 0%,   rgba(59, 189, 184, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 100%, rgba(74, 111, 165, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 20%,  rgba(74, 111, 165, 0.10) 0%, transparent 40%);
  background-attachment: fixed;
  color: #1a2b3c;
  -webkit-font-smoothing: antialiased;
}

/* 404 pages: vertically centred single-card layout */
body.is-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(59, 189, 184, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(74, 111, 165, 0.15) 0%, transparent 55%);
}

/* ── Layout helpers ────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── App icon ──────────────────────────────────────────────────────────────── */

.icon-wrap {
  margin: 0 auto 24px;
  width: 108px;
  height: 108px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(74, 111, 165, 0.22),
    0 16px 40px rgba(74, 111, 165, 0.18);
}

/* Tighter shadow variant used inside the card (404 pages) */
.card .icon-wrap {
  margin-bottom: 20px;
  box-shadow:
    0 4px 12px rgba(74, 111, 165, 0.20),
    0 12px 32px rgba(74, 111, 165, 0.16);
}

.icon-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Brand label ───────────────────────────────────────────────────────────── */

.brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3BBDB8;
  margin-bottom: 12px;
}

.card .brand {
  margin-bottom: 8px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  padding: 72px 20px 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 750;
  letter-spacing: -0.8px;
  color: #1a2b3c;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: clamp(15px, 2.5vw, 17px);
  color: #6b7a8d;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ── CTA buttons ───────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #4A6FA5 0%, #3BBDB8 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 650;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.2px;
  box-shadow: 0 4px 18px rgba(74, 111, 165, 0.38);
  transition: opacity 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary:active {
  opacity: 0.88;
  transform: scale(0.98);
}

/* Full-width variant used inside .card (404 pages) */
.card .btn-primary {
  display: flex;
  width: 100%;
  box-shadow: 0 4px 16px rgba(74, 111, 165, 0.35);
  margin-bottom: 12px;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */

.section {
  padding: 56px 0;
}

.section + .section {
  border-top: 1px solid rgba(74, 111, 165, 0.1);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3BBDB8;
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 750;
  letter-spacing: -0.5px;
  color: #1a2b3c;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 15px;
  color: #6b7a8d;
  line-height: 1.6;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ── Use-case cards ────────────────────────────────────────────────────────── */

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.use-case-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(74, 111, 165, 0.10);
}

.use-case-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
}

.use-case-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.use-case-card p {
  font-size: 14px;
  color: #6b7a8d;
  line-height: 1.6;
}

/* ── Feature list ──────────────────────────────────────────────────────────── */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
}

.feature-list li {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(74, 111, 165, 0.10);
}

.feature-check {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4A6FA5 0%, #3BBDB8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.feature-check svg {
  display: block;
}

.feature-list h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.feature-list p {
  font-size: 13px;
  color: #6b7a8d;
  line-height: 1.6;
}

/* ── Bottom CTA ────────────────────────────────────────────────────────────── */

.cta-section {
  padding: 64px 20px 72px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 750;
  letter-spacing: -0.5px;
  color: #1a2b3c;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 15px;
  color: #6b7a8d;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 28px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-section .btn-primary,
.cta-section .store-wrap {
  width: 280px;
  height: 54px;
  margin-top: 0;
}

.cta-section .btn-primary {
  padding: 0 32px;
}

.cta-section .btn-store {
  width: 100%;
  height: 54px;
  padding: 0 24px;
}

/* ── App Store badge ───────────────────────────────────────────────────────── */

.store-wrap {
  position: relative;
  display: inline-block;
  margin-top: 14px;
}

.card .store-wrap {
  display: block;
  margin-top: 0;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #1c1c1e;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: -0.1px;
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.card .btn-store {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 10px;
  padding: 14px 24px;
}

.btn-store .store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-store .store-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.01em;
}

.btn-store .store-main {
  font-size: 16px;
  font-weight: 650;
}

.coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: #E8000D;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.25em;
  padding: 3px 36px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(232, 0, 13, 0.45);
  pointer-events: none;
  opacity: 0.82;
}

.card .coming-soon {
  font-size: 15px;
  padding: 3px 42px;
}

/* ── 404 card ──────────────────────────────────────────────────────────────── */

.card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 28px;
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(74, 111, 165, 0.12),
    0 24px 64px rgba(74, 111, 165, 0.10);
}

.card h1 {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.5px;
  color: #1a2b3c;
  line-height: 1.2;
  margin-bottom: 12px;
}

.card .subtitle {
  font-size: 15px;
  color: #6b7a8d;
  line-height: 1.6;
  margin-bottom: 32px;
}

.divider {
  font-size: 13px;
  color: #9aaabb;
  margin: 12px 0;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid rgba(74, 111, 165, 0.12);
  padding: 24px 20px;
  text-align: center;
  font-size: 12px;
  color: #9aaabb;
  letter-spacing: 0.02em;
}

footer a {
  color: #6b7a8d;
  text-decoration: none;
}

footer a:hover {
  color: #4A6FA5;
}

/* Floating footer below the card on 404 pages */
body.is-404 footer {
  border-top: none;
  padding: 0;
  margin-top: 28px;
}

/* ── Language switcher ─────────────────────────────────────────────────────── */

.lang-switch {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(74, 111, 165, 0.3);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #4A6FA5;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch:hover {
  background: #4A6FA5;
  color: #fff;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero {
    padding: 52px 20px 48px;
  }

  .use-case-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .btn-primary {
    width: 100%;
    max-width: 340px;
  }
}

@media (min-width: 641px) and (max-width: 860px) {
  .use-case-grid,
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Legal pages (impressum / privacy) ────────────────────────────────────── */

.legal-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4A6FA5;
  text-decoration: none;
  margin-bottom: 40px;
  letter-spacing: -0.1px;
}

.legal-page .back-link:hover {
  color: #3BBDB8;
}

.legal-page h1 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 750;
  letter-spacing: -0.6px;
  color: #1a2b3c;
  line-height: 1.15;
  margin-bottom: 8px;
}

.legal-page .legal-meta {
  font-size: 13px;
  color: #9aaabb;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2b3c;
  letter-spacing: -0.3px;
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal-page p {
  font-size: 15px;
  color: #4a5b6d;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-page a {
  color: #4A6FA5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: #3BBDB8;
}

.legal-page address {
  font-style: normal;
  font-size: 15px;
  color: #4a5b6d;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-page hr {
  border: none;
  border-top: 1px solid rgba(74, 111, 165, 0.12);
  margin: 36px 0;
}

.legal-page h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a2b3c;
  letter-spacing: -0.2px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a2b3c;
  margin-top: 18px;
  margin-bottom: 6px;
}

.legal-page ul {
  margin: 0 0 14px 0;
  padding-left: 22px;
}

.legal-page li {
  font-size: 15px;
  color: #4a5b6d;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ── Privacy policy card ───────────────────────────────────────────────────── */

/* Wider card variant for the English privacy policy page */
.card--legal {
  max-width: 560px;
  text-align: left;
  padding: 40px 36px 32px;
}

.card--legal__title {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 750;
  letter-spacing: -0.5px;
  color: #1a2b3c;
  line-height: 1.2;
  margin-bottom: 4px;
  text-align: center;
}

.policy-meta {
  font-size: 12px;
  color: #9aaabb;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 0;
}

.policy-divider {
  height: 1px;
  background: rgba(74, 111, 165, 0.12);
  margin: 24px 0;
}

.policy-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #1a2b3c;
  letter-spacing: -0.1px;
  margin-top: 20px;
  margin-bottom: 6px;
}

.policy-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, #4A6FA5 0%, #3BBDB8 100%);
}

.policy-text {
  font-size: 13px;
  color: #6b7a8d;
  line-height: 1.65;
  margin-bottom: 0;
  padding-left: 16px;
}

.policy-text a {
  color: #4A6FA5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-text a:hover {
  color: #3BBDB8;
}

.policy-text code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  background: rgba(74, 111, 165, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  color: #4A6FA5;
}

.policy-contact {
  font-size: 12px;
  color: #9aaabb;
  text-align: center;
  letter-spacing: 0.02em;
}

.policy-contact a {
  color: #6b7a8d;
  text-decoration: none;
}

.policy-contact a:hover {
  color: #4A6FA5;
}
