/* ==========================================================================
   Mallorca Capital Circle — Website Stylesheet
   Design tokens mirror the pitch-deck brand system.
   ========================================================================== */

:root {
  --navy: #12182B;
  --navy-card: #1C2440;
  --navy-card-2: #222C4D;
  --gold: #C9A961;
  --gold-dim: rgba(201, 169, 97, 0.35);
  --cream: #F5F1E8;
  --muted: #9AA5C4;
  --muted-dark: #6B7593;

  --font-display: Cambria, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", Calibri, Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--navy); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--muted); }

.lede {
  color: var(--cream);
  font-size: 1.05rem;
}

.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 18px 0 26px;
}

.vertical-rule {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 24, 43, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.brand img { width: 34px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  color: var(--cream);
  width: 42px;
  height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-emblem {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-emblem img {
  width: 260px;
  animation: emblem-breathe 8s ease-in-out infinite;
}

@keyframes emblem-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.03) rotate(1.2deg); }
}

.hero-ring {
  position: absolute;
  inset: -30px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  animation: ring-spin 60s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.hero .tagline {
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  margin-top: 18px;
}

.hero-badge {
  color: var(--muted-dark);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 30px;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)); }

.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--navy-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.03);
}

.card.outline {
  background: var(--navy-card-2);
  border: 1px solid var(--gold-dim);
}

.badge-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-card-2);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.stat {
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat .label {
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.stat p { font-size: 0.92rem; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Founders ---------- */
.founder-card { text-align: center; }
.founder-card .badge-circle { margin: 0 auto 20px; width: 84px; height: 84px; font-size: 1.6rem; }
.founder-card h3 { margin-bottom: 2px; }
.founder-card .role { color: var(--gold); font-size: 0.85rem; margin-bottom: 16px; display: block; }
.founder-card p { font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.price-card .tag {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.price-card .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--cream);
  margin: 10px 0 4px;
}
.price-card .amount .sub { font-size: 1rem; color: var(--muted); font-weight: 400; }

/* ---------- CTA ---------- */
.cta-band {
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { margin-bottom: 22px; }
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--gold); color: var(--navy); }
.btn.solid { background: var(--gold); color: var(--navy); }
.btn.solid:hover { background: var(--cream); border-color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .foot-brand {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.site-footer nav {
  display: flex;
  gap: 26px;
}
.site-footer nav a {
  font-size: 0.8rem;
  color: var(--muted-dark);
}
.site-footer nav a:hover { color: var(--gold); }

/* ---------- Timeline (Einordnung) ---------- */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 50px 0 20px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.timeline-item { text-align: center; flex: 1; position: relative; }
.timeline-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-card-2);
  border: 1.5px solid var(--muted-dark);
  margin: 0 auto 14px;
  position: relative; z-index: 2;
}
.timeline-item.highlight .timeline-dot { border-color: var(--gold); }
.timeline-month {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px; display: block;
}
.timeline-item span.event { font-size: 0.9rem; color: var(--muted); }
.timeline-item.highlight span.event { color: var(--cream); font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal h2 { margin-top: 2em; font-size: 1.3rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 0.96rem; }
.legal ul { padding-left: 20px; }
.legal a.inline { color: var(--gold); text-decoration: underline; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--muted-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-emblem { order: -1; margin-bottom: 20px; }
  .hero-emblem img { width: 180px; }
  .vertical-rule { border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 20px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    padding: 40px 32px;
    gap: 26px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .timeline { flex-direction: column; gap: 24px; }
  .timeline::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-emblem img, .hero-ring { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
