/* ==========================================================================
   rcs.bytebased.at — Landingpage (RCS Business Messaging bewerben)
   Look: LIGHT — helles Blaugrau, elektrisch-blauer Akzent, fette
   Uppercase-Headlines, saubere Tech/Messaging-Ästhetik. Self-contained.
   (bytebased brand, electric-blue accent — FORCED LIGHT)
   ========================================================================== */

:root {
  --navy-0: #f4f7fc;   /* page background */
  --navy-1: #eef3fb;   /* subtle raised / alt surface */
  --navy-2: #ffffff;   /* hero base */
  --navy-3: #e9f1ff;   /* soft accent tint */
  --line:   #e3e9f4;   /* border / hairline */
  --panel:  #ffffff;   /* card / surface */
  --text:   #16223f;   /* primary text */
  --muted:  #5c6a88;   /* muted / secondary text */
  --blue:   #2f6fe0;   /* primary accent */
  --blue-2: #1e5bd6;   /* darker press */
  --cyan:   #24b3ff;   /* bright accent */
  --glow:   rgba(47,111,224,0.22); /* accent glow */
  --gold:   #b26a00;   /* coupon code text */
  --tint:   #e9f1ff;   /* soft accent tint (hover, chip bg) */
  --raise:  #eef3fb;   /* subtle raised surface */
  --shadow-card:  0 12px 34px -16px rgba(23,42,80,0.16);
  --shadow-hover: 0 18px 44px -18px rgba(47,111,224,0.26);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --wide: 1160px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--navy-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; background: linear-gradient(90deg, var(--blue), transparent);
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.01em; font-weight: 800; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; font-size: 0.98rem; font-weight: 700; font-family: var(--font);
  border-radius: 10px; cursor: pointer; border: none;
  transition: transform .24s ease, box-shadow .24s ease, background .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { color: #fff; background: linear-gradient(180deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 30px -10px var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px var(--glow); }
.btn--ghost { color: var(--text); background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-hover); }
.btn:active { transform: scale(0.97); }

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

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 4.2rem; }
.brandmark { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brandmark__logo {
  width: 1.7rem; height: 1.7rem; border-radius: 7px;
  background: linear-gradient(140deg, var(--cyan), var(--blue));
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: 0 8px 20px -6px var(--glow);
}
.brandmark__tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; color: var(--blue); background: var(--tint); border: 1px solid rgba(47,111,224,0.30); border-radius: 999px; padding: 0.15rem 0.5rem; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { font-size: 0.9rem; font-weight: 600; color: var(--muted); transition: color .2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: 0.5rem; }

@media (max-width: 820px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }

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

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(74,144,255,0.14), transparent 55%),
    radial-gradient(90% 80% at 10% 20%, rgba(36,179,255,0.10), transparent 55%),
    linear-gradient(180deg, var(--navy-2), var(--navy-0));
  overflow: hidden;
}
.hero::after {
  /* subtile Schaltkreis-Linien */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(to right, rgba(47,111,224,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47,111,224,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 70% at 70% 20%, #000 30%, transparent 75%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 6vw, 4rem); text-transform: uppercase; margin: 1rem 0 0.5rem; animation: fadeUp .55s ease .10s backwards; }
.hero__title span { background: linear-gradient(100deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 700; color: var(--text); margin-bottom: 0.6rem; animation: fadeUp .55s ease .18s backwards; }
.hero__sub { font-size: 1rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.6rem; animation: fadeUp .55s ease .26s backwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; animation: fadeUp .55s ease .34s backwards; }
.hero__note { margin-top: 1.1rem; font-size: 0.82rem; color: var(--muted); animation: fadeUp .55s ease .42s backwards; }
.hero .eyebrow { animation: fadeUp .55s ease .04s backwards; }

@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__phone { order: -1; margin: 0 auto; } }

/* ---- Phone-Mockup (RCS-Chat) -------------------------------------------- */

.hero__phone { position: relative; width: min(320px, 82%); margin-left: auto; animation: fadeUp .6s ease .30s backwards; }
.phone-mock {
  border-radius: 30px; padding: 0.7rem;
  background: linear-gradient(160deg, #e7edf7, #dfe6f2);
  border: 1px solid var(--line);
  box-shadow: 0 34px 70px -30px rgba(23,42,80,0.35), 0 0 50px -22px var(--glow);
}
.phone-mock__screen { background: #f6f8fd; border-radius: 22px; overflow: hidden; }
.pm-head { display: flex; align-items: center; gap: 0.55rem; padding: 0.8rem; background: #ffffff; border-bottom: 1px solid var(--line); }
.pm-avatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: linear-gradient(140deg, var(--cyan), var(--blue)); display: grid; place-items: center; font-weight: 900; color: #fff; }
.pm-name { display: flex; flex-direction: column; }
.pm-name b { font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.25rem; color: var(--text); }
.pm-name span { font-size: 0.66rem; color: var(--muted); }
.pm-check { width: 0.85rem; height: 0.85rem; color: var(--blue); }
.pm-body { padding: 0.9rem 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 15rem; }
.pm-bubble { align-self: flex-start; max-width: 82%; background: #eef2f8; color: var(--text); padding: 0.5rem 0.7rem; border-radius: 14px 14px 14px 4px; font-size: 0.8rem; animation: msgIn .3s ease both; }
.pm-card { background: #ffffff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); animation: msgIn .3s ease .08s both; }
.pm-card__hero { height: 4.4rem; display: grid; place-items: center; font-size: 2rem; background: radial-gradient(120% 120% at 30% 0%, rgba(245,196,81,0.28), transparent), radial-gradient(120% 120% at 100% 100%, rgba(74,144,255,0.24), transparent), #f6f8fd; }
.pm-card__b { padding: 0.6rem 0.7rem; }
.pm-card__t { font-weight: 800; font-size: 0.92rem; color: var(--text); }
.pm-card__c { margin-top: 0.35rem; font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; color: var(--gold); background: #fff7e6; border: 1px dashed #f0c46a; border-radius: 7px; padding: 0.25rem 0.4rem; text-align: center; }
.pm-card__btn { margin-top: 0.5rem; text-align: center; font-size: 0.78rem; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--blue), var(--blue-2)); border-radius: 8px; padding: 0.4rem; }
.hero__phone-badge { position: absolute; top: -0.6rem; right: -0.6rem; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; color: #fff; background: linear-gradient(180deg, var(--blue), var(--blue-2)); border-radius: 999px; padding: 0.25rem 0.6rem; box-shadow: 0 10px 22px -6px var(--glow); animation: slideUp .5s ease .5s backwards; }

/* ---- Trust strip --------------------------------------------------------- */

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy-1); }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; padding: 1.1rem 0; }
.trust__item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.trust__item b { color: var(--text); }

/* ---- Sections ------------------------------------------------------------ */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: linear-gradient(180deg, var(--navy-1), var(--navy-0)); }
.section__head { max-width: 40rem; margin-bottom: 2.5rem; animation: fadeUp .55s ease both; }
.section__title { font-size: clamp(1.7rem, 4vw, 2.6rem); text-transform: uppercase; margin: 0.7rem 0 0.6rem; }
.section__sub { color: var(--muted); font-size: 1.02rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform .24s ease, border-color .2s ease, box-shadow .28s ease;
  animation: fadeUp .55s ease backwards;
}
.feature:nth-child(1) { animation-delay: .06s; }
.feature:nth-child(2) { animation-delay: .14s; }
.feature:nth-child(3) { animation-delay: .22s; }
.feature:nth-child(4) { animation-delay: .30s; }
.feature:nth-child(5) { animation-delay: .38s; }
.feature:nth-child(6) { animation-delay: .46s; }
.feature:hover { transform: translateY(-3px); border-color: rgba(47,111,224,0.40); box-shadow: var(--shadow-hover); }
.feature:active { transform: scale(0.97); }
.feature__ico { width: 2.8rem; height: 2.8rem; border-radius: 10px; display: grid; place-items: center; font-size: 1.4rem; background: var(--tint); border: 1px solid rgba(47,111,224,0.22); margin-bottom: 1rem; }
.feature__t { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.feature__x { color: var(--muted); font-size: 0.92rem; }

/* ---- Steps --------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-card); transition: transform .24s ease, border-color .2s ease, box-shadow .28s ease; animation: fadeUp .55s ease backwards; }
.step:nth-child(1) { animation-delay: .08s; }
.step:nth-child(2) { animation-delay: .18s; }
.step:nth-child(3) { animation-delay: .28s; }
.step:hover { transform: translateY(-3px); border-color: rgba(47,111,224,0.40); box-shadow: var(--shadow-hover); }
.step__n { font-size: 2.4rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--blue); line-height: 1; margin-bottom: 0.6rem; }
.step__t { font-weight: 700; font-size: 1.08rem; margin-bottom: 0.35rem; color: var(--text); }
.step__x { color: var(--muted); font-size: 0.9rem; }

/* ---- Compare SMS vs RCS -------------------------------------------------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare__col { border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-card); transition: transform .24s ease, box-shadow .28s ease, border-color .2s ease; animation: fadeUp .55s ease backwards; }
.compare__col:nth-child(1) { animation-delay: .08s; }
.compare__col:nth-child(2) { animation-delay: .18s; }
.compare__col:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.compare__col--sms { background: #eef3fb; }
.compare__col--rcs { background: linear-gradient(180deg, var(--navy-3), #ffffff); border-color: rgba(47,111,224,0.40); }
.compare__tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.compare__col--sms .compare__tag { color: var(--muted); }
.compare__col--rcs .compare__tag { color: var(--blue); }
.compare__list { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.compare__list li { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.compare__list li b { color: var(--text); font-weight: 600; }
.compare__col--sms .compare__list li::before { content: "✕"; color: #dc2626; font-weight: 800; }
.compare__col--rcs .compare__list li::before { content: "✓"; color: #16a34a; font-weight: 800; }

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

.cta {
  text-align: center; padding: clamp(3rem, 7vw, 5rem) 0;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(74,144,255,0.16), transparent 60%),
    var(--navy-1);
  border-top: 1px solid var(--line);
}
.cta__title { font-size: clamp(1.8rem, 4.5vw, 2.8rem); text-transform: uppercase; margin-bottom: 0.8rem; animation: fadeUp .55s ease .06s backwards; }
.cta__sub { color: var(--muted); max-width: 34rem; margin: 0 auto 1.6rem; animation: fadeUp .55s ease .14s backwards; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; animation: fadeUp .55s ease .22s backwards; }

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

.foot { border-top: 1px solid var(--line); background: var(--navy-0); padding: 2.2rem 0; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.foot__meta { color: var(--muted); font-size: 0.85rem; }
.foot__meta a { color: var(--blue); transition: color .2s ease; }
.foot__meta a:hover { color: var(--blue-2); }
.foot__links { display: flex; gap: 1.2rem; font-size: 0.85rem; color: var(--muted); }
.foot__links a { transition: color .2s ease; }
.foot__links a:hover { color: var(--text); }

/* ---- Keyframes / motion -------------------------------------------------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes popScale {
  0%   { opacity: 0; transform: scale(0.85); }
  60%  { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
