/* MALOUM Creator House — Landing
   Palette + Typo angelehnt an maloum.com (cream / orange / editorial serif) */

:root {
  --cream: #f7f4eb;
  --cream-deep: #f0ece0;
  --ink: #191511;
  --muted: #75705f;
  --orange: #fa4a0f;
  --orange-dark: #dd3f08;
  --blush: #fce5dc;
  --white: #ffffff;
  --border: rgba(25, 21, 17, 0.08);
  --shadow: 0 12px 32px rgba(25, 21, 17, 0.07);
  --radius: 24px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ---------- Typography ---------- */

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.04;
  font-size: clamp(2.5rem, 9vw, 4.6rem);
}

.display em {
  font-style: italic;
  font-weight: 500;
}

.display-md {
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  line-height: 1.1;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34em;
  margin: 22px auto 0;
}

.section-lede {
  color: var(--muted);
  max-width: 36em;
  margin: 14px auto 0;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(250, 74, 15, 0.28);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-soft {
  background: var(--blush);
  color: var(--orange);
}

.btn-soft:hover {
  background: #fbdccf;
  transform: translateY(-1px);
}

.btn-invert {
  background: var(--white);
  color: var(--orange);
}

.btn-invert:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  height: 22px;
  width: auto;
  display: block;
}

.brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-media {
  margin: 36px auto 0;
  max-width: 1160px;
}

/* ---------- Creators ---------- */

.creators {
  padding: 28px 0 84px;
}

.creators .display-md {
  text-align: center;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.creator-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 10px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.creator-card:hover .card-media img {
  transform: scale(1.04);
}

.card-media.is-fallback img {
  display: none;
}

.card-media.is-fallback::before {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 12vw, 5rem);
  color: rgba(255, 255, 255, 0.92);
}

.card-id {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.badge {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.card-bio {
  margin: 0;
  padding: 12px 8px 4px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2em;
}

.card-cta {
  margin-top: 10px;
  width: 100%;
  padding: 13px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: normal;
  line-height: 1.25;
  background: linear-gradient(135deg, #ff7433 0%, var(--orange) 55%, #e63f06 100%);
  box-shadow: 0 8px 20px rgba(250, 74, 15, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.card-cta:hover {
  background: linear-gradient(135deg, #ff7433 0%, #f04408 55%, #d63a04 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(250, 74, 15, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.card-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Fallback-Gradients (bis echte Fotos in assets/creators/ liegen) */
.tone-1 { background: linear-gradient(150deg, #fa4a0f, #ffb199); }
.tone-2 { background: linear-gradient(150deg, #e8825a, #f6c8a8); }
.tone-3 { background: linear-gradient(150deg, #d4553b, #f2a68b); }
.tone-4 { background: linear-gradient(150deg, #c9724f, #f4d3b0); }
.tone-5 { background: linear-gradient(150deg, #b85a68, #f1b8ad); }
.tone-6 { background: linear-gradient(150deg, #de6a35, #f9cdb2); }
.tone-7 { background: linear-gradient(150deg, #a8674b, #ecc9a5); }

/* ---------- About ---------- */

.about {
  padding: 20px 0 72px;
}

.about .display-md {
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.about-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--orange);
  line-height: 1;
  display: block;
}

.about-card h3 {
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

.about-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */

.cta-band-wrap {
  padding: 8px 0 80px;
}

.cta-band {
  background: var(--orange);
  border-radius: 28px;
  padding: 52px 24px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(250, 74, 15, 0.3);
}

.cta-band p {
  margin: 14px auto 26px;
  max-width: 30em;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.brand-logo-footer {
  height: 24px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.3;
  margin-top: 26px;
}

.footer-tagline em {
  font-style: italic;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 22px 0 10px;
}

.footer-col h4:first-child {
  margin-top: 0;
}

.footer-col a {
  display: block;
  padding: 3px 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-col address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 6px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 44px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.payments {
  display: flex;
  gap: 8px;
}

.pay-badge {
  width: 46px;
  height: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid;
  place-items: center;
}

.pay-badge svg {
  width: 34px;
  height: 16px;
  display: block;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 470px) {
  .brand-logo {
    height: 18px;
  }

  .brand-sub {
    font-size: 0.85rem;
  }

  .btn-small {
    padding: 9px 15px;
    font-size: 0.78rem;
  }
}

@media (min-width: 640px) {
  .hero {
    padding: 100px 0 56px;
  }

  .creator-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .card-cta {
    font-size: 0.9rem;
  }
}

/* ---------- 18+ Gate (mobil: Bottom-Sheet, ab 640px: zentriert) ---------- */

body.gate-open {
  overflow: hidden;
}

.gate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(25, 21, 17, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* [hidden] muss display:flex schlagen, sonst schließt das Sheet nie */
.gate-backdrop[hidden] {
  display: none;
}

.gate {
  background: var(--cream);
  width: 100%;
  max-width: 440px;
  border-radius: 26px 26px 0 0;
  padding: 30px 22px calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.gate-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
}

.gate-text {
  margin: 12px auto 22px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 30em;
}

.gate-confirm {
  width: 100%;
  padding: 16px 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff7433 0%, var(--orange) 55%, #e63f06 100%);
  box-shadow: 0 8px 20px rgba(250, 74, 15, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.gate-cancel {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.gate-cancel:hover {
  color: var(--ink);
}

.gate-fallback {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.gate-fallback-link {
  width: 100%;
}

.gate-hint {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .gate-backdrop {
    align-items: center;
    padding: 24px;
  }

  .gate {
    border-radius: 26px;
    padding: 36px 32px 30px;
  }
}

@media (min-width: 900px) {
  .creator-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .cta-band {
    padding: 72px 40px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
  }
}
