/* ─────────────────────────────────────────────────────────────
   Finza Formsprache — gemeinsame Design-Ebene
   Wird NACH den Seiten-Styles geladen und zieht die auf
   finza-hub.html etablierte Sprache auf alle Unterseiten:
   1. Bricolage Grotesque für Headlines
   2. kantige Knöpfe / Etiketten (keine Pillen)
   3. "Registre"-Hintergrundmuster im Hero
   ───────────────────────────────────────────────────────────── */

:root {
  --font-display: 'Bricolage Grotesque', 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --shadow-glow: 0 18px 50px -18px rgba(10, 22, 40, 0.28);
}

/* ── 1. Typografie ── */
h1, h2, h3, h4, h5, h6,
.hero-title, .h1, .h2, .h3,
.stat-num, .price-amount, .price-name, .m-title, .card-title {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3,
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3 {
  font-family: var(--font-ar, 'Noto Sans Arabic', 'Inter', system-ui, sans-serif);
  letter-spacing: 0;
}

/* ── 2. Kantige Formsprache statt Pillen ── */
.btn { border-radius: 5px !important; }
.btn-lg { border-radius: 12px !important; }
.btn-sm { border-radius: 4px !important; }
.badge, .fc-tag, .flow-step, .price-name, .tag, .pill {
  border-radius: 4px !important;
}
.nav-links a { border-radius: 4px !important; }
.lang-picker { border-radius: 4px !important; }
.lang-btn { border-radius: 4px !important; }

.hero-eyebrow {
  border-radius: 4px !important;
  border-left: 3px solid var(--blue);
  background: rgba(0, 122, 255, 0.05);
  border-top: 1px solid rgba(0, 122, 255, 0.14);
  border-right: 1px solid rgba(0, 122, 255, 0.14);
  border-bottom: 1px solid rgba(0, 122, 255, 0.14);
  padding: 8px 14px;
}
.hero-eyebrow-dot {
  border-radius: 1px !important;
  transform: rotate(45deg);
}

/* ── 3. "Registre"-Muster: Kontenspalten + Buchungszeilen ── */
#hero .hero-bg-dots {
  background-image:
    linear-gradient(90deg, rgba(10, 22, 40, 0.14) 0 1px, transparent 1px 100%),
    linear-gradient(90deg, transparent 0 calc(100% - 2px), rgba(0, 122, 255, 0.28) calc(100% - 2px) 100%),
    repeating-linear-gradient(0deg, rgba(10, 22, 40, 0.10) 0 1px, transparent 1px 28px);
  background-size: 116px 100%, 116px 100%, 100% 100%;
  mask-image: linear-gradient(165deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.18) 88%);
  -webkit-mask-image: linear-gradient(165deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.18) 88%);
}
body.lang-ar #hero .hero-bg-dots,
[dir="rtl"] #hero .hero-bg-dots {
  mask-image: linear-gradient(195deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.18) 88%);
  -webkit-mask-image: linear-gradient(195deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.18) 88%);
}
#hero .hero-glow {
  background: linear-gradient(150deg, rgba(0, 122, 255, 0.10) 0%, rgba(0, 122, 255, 0) 62%);
  width: 620px; height: 620px;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 34% 100%, 0 74%);
}

/* ── Karten: gleiche Kanten & Hover wie Startseite ── */
.feature-card, .split-card, .price-card, .mod-card {
  border-radius: 14px;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s, border-color 0.22s;
}
.feature-card:hover, .split-card:hover, .price-card:hover, .mod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 122, 255, 0.25);
}

/* ── Einheitliche Marke + Rücksprung zur Startseite ── */
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-home {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  color: #4A5878; text-decoration: none;
  border: 1px solid #D1D8E8; border-radius: 4px; padding: 5px 10px;
  transition: color 0.2s, border-color 0.2s;
}
.nav-home:hover { color: #007AFF; border-color: #007AFF; }
@media (max-width: 480px) { .nav-brand { gap: 8px; } .nav-logo img { height: 26px; } .nav-home { padding: 4px 8px; font-size: 12px; } }
