/* ==========================================================
   DEBS PM — Landing page styles
   Brand tokens taken from the existing social-media templates,
   so the web presence matches Instagram/TikTok exactly.
   No external font/service calls — keeps the site tracker-free,
   which matches the "no cookies" claim in the Datenschutzerklärung.
   ========================================================== */

:root {
  --blue: #A2C6E8;
  --blue-light: #EAF2FA;
  --navy: #1C3A56;
  --navy-dark: #142A3F;
  --orange: #F2954A;
  --slate: #8298B2;
  --gray-star: #C8CDD3;
  --white: #FFFFFF;
  --ink-muted: #5A7088;

  --font-display: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-align: center; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

.eyebrow {
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--navy);
}
.eyebrow--dark { text-align: center; color: var(--ink-muted); }
.eyebrow--light { color: var(--blue); text-align: center; }

/* Signature device: the rotated, boxed highlight word — reused everywhere
   the brand wants a phrase to "pop" (matches the social template exactly). */
.highlight-box {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  padding: .05em .3em;
  border-radius: 14px;
  transform: rotate(-2deg);
}
.highlight-box--light {
  background: var(--white);
  color: var(--navy);
}

/* Decorative four-point stars, drawn with CSS only (no images) */
.star {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
}
.star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}
.star--orange { color: var(--orange); top: 40px; right: 8%; }
.star--gray   { color: var(--gray-star); width: 44px; height: 44px; top: 140px; left: 4%; }
.star--slate  { color: var(--slate); width: 48px; height: 48px; bottom: 30px; right: 6%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #EEF1F4;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-mark {
  display: inline-block;
  border: 3px solid var(--navy);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: .85rem;
  line-height: 1.05;
  text-align: center;
  padding: 6px 12px;
}
.logo-img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  display: block;
}
.logo-mark--small { border-color: var(--white); color: var(--white); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-weight: 700; font-size: .95rem; }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--blue);
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-sub { font-size: 1.1rem; max-width: 46ch; }

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.store-buttons--center { justify-content: center; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 14px;
  font-size: .8rem;
  transition: transform .15s ease;
}
.store-badge img {
  height: 48px;
  width: auto;
  display: block;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.25; }
.store-btn strong { font-size: 1rem; }

.phone-frame { display: flex; justify-content: center; }
.screenshot-slot {
  border: 2px dashed rgba(28,58,86,.35);
  border-radius: 28px;
  background: rgba(255,255,255,.5);
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hero .screenshot-slot { width: 248px; height: 520px;}
.screenshot-slot small { font-weight: 500; opacity: .75; }

.screenshot-slot--small { width: 100%; margin-top: 14px; border-radius: 16px; }
.screenshot-slot--dark {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  color: var(--white);
  width: 336px; height: 308px;
}

.screenshot-slot {
  overflow: hidden;
}

.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.screenshot-slot:has(img) {
  border: none;
  background: none;
  padding: 0;
}

.screenshot-slot.phone-mockup {
  border: 6px solid rgb(15, 59, 88);
  border-radius: 28px;
  transform: rotate(-4deg);
  box-shadow: 0 24px 48px -12px rgba(28,58,86,.5), 0 8px 16px rgba(28,58,86,.25);
  transition: transform .3s ease;
}

.screenshot-slot.phone-mockup img {
  border-radius: 22px;   /* 28px außen minus 6px Rand */
}

.screenshot-slot.phone-mockup:hover {
  transform: rotate(-2deg) scale(1.02);
}

/* ---------------- Features ---------------- */
.features { padding: 96px 0; background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 32px;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

/* ---------------- How it works ---------------- */
.how-it-works { padding: 96px 0; background: var(--blue-light); }
.steps-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.steps-column h3 { text-align: center; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-text p { margin: 4px 0 0; color: var(--ink-muted); font-size: .95rem; }
.steps li .screenshot-slot--small { grid-column: 1 / -1; }

/* ---------------- Sharing callout ---------------- */
.sharing {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 96px 0;
  overflow: hidden;
}
.sharing-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.sharing h2 { text-align: left; }
.sharing p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.sharing-note { font-weight: 700; color: var(--white) !important; }
.sharing-media { display: flex; justify-content: center; }

/* ---------------- Download CTA ---------------- */
.download { background: var(--blue); padding: 96px 0; text-align: center; }
.download-inner p { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 56px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand p { margin-top: 14px; font-size: .85rem; }
.footer-col h4 { color: var(--white); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; margin-bottom: 10px; font-size: .95rem; }
.footer-copy { text-align: center; font-size: .8rem; margin: 24px 0 0; }

/* ---------------- Scroll reveal (restrained) ---------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-inner, .sharing-inner { grid-template-columns: 1fr; }
  .hero-media, .sharing-media { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-columns { grid-template-columns: 1fr; gap: 64px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid #EEF1F4;
    display: none;
  }
  .main-nav .nav-cta {
    border-radius: 14px;
    text-align: center;
    margin-top: 8px;
    padding: 14px 0;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: flex; }
}
