/* ============================================================
   Flinki Website — Styles
   Clean, white, seriös aber freundlich.
   Palette: navy / blue / signal yellow
   ============================================================ */

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

:root {
  --navy:    #1B2A4A;
  --navy-dk: #111D36;
  --blue:    #2D6CDF;
  --blue-dk: #2153B0;
  --blue-lt: #EAF1FD;
  --signal:  #FFC93C;
  --signal-dk:#E8A800;
  --ink:     #1B2A4A;
  --mid:     #5C6B85;
  --cloud:   #F5F8FC;
  --white:   #FFFFFF;
  --border:  #E5EBF3;
  --green:   #25D366;

  --head: 'Sora', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 16px 50px rgba(27,42,74,.12);
  --shadow-sm: 0 4px 18px rgba(27,42,74,.07);
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 99px; font-size: 15px; font-weight: 600; transition: all .18s; white-space: nowrap; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(45,108,223,.35); }
.btn--ghost { background: var(--white); color: var(--navy); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--signal { background: var(--signal); color: var(--navy); }
.btn--signal:hover { background: var(--signal-dk); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,201,60,.4); }
.btn--light { background: rgba(255,255,255,.15); color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.25); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--xl { padding: 20px 40px; font-size: 18px; font-weight: 700; }

/* Eyebrow */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow--light { color: var(--signal); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px rgba(45,108,223,.25); }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--navy); }
.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links a { padding: 9px 14px; border-radius: 10px; font-size: 15px; color: var(--mid); font-weight: 500; transition: .15s; }
.nav__links a:hover { background: var(--cloud); color: var(--ink); }
.nav__links a.btn--whatsapp { color: var(--white); }
.nav__links a.btn--primary:hover { color: var(--white); background: var(--blue-dk); }
.nav__menu { display: none; font-size: 24px; margin-left: auto; color: var(--ink); }

/* HERO */
.hero { position: relative; padding: 48px 0 76px; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--cloud) 100%); }
.hero__brandmark { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 auto 40px; }
.hero__face { position: relative; z-index: 1; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 5px solid var(--white); box-shadow: 0 18px 44px rgba(45,108,223,.32); animation: floaty 5s ease-in-out infinite; }
.hero__brandring { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 156px; height: 156px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,60,.35), rgba(45,108,223,.18) 55%, transparent 72%); z-index: 0; }
.hero__brandlabel { position: relative; z-index: 1; font-family: var(--head); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--white); border: 1px solid var(--border); padding: 6px 16px; border-radius: 99px; box-shadow: var(--shadow-sm); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(8px); z-index: 0; pointer-events: none; }
.hero__blob--blue { width: 520px; height: 520px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(45,108,223,.18), transparent 65%); }
.hero__blob--yellow { width: 360px; height: 360px; left: -120px; bottom: -140px; background: radial-gradient(circle, rgba(255,201,60,.22), transparent 65%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--border); color: var(--navy); font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 99px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255,201,60,.25); }
.hero__title { font-family: var(--head); font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 22px; }
.hero__title .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero__title .hl::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 14px; background: var(--signal); opacity: .5; z-index: -1; border-radius: 6px; transform: rotate(-1deg); }
.hero__lede { font-size: 18px; color: var(--mid); max-width: 540px; margin-bottom: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--mid); }
.hero__trust--top { margin-bottom: 18px; }
.hero__trust strong { color: var(--navy); }
.hero__trust .dot { color: var(--border); }
.hero__hint { font-size: 15px; color: var(--blue-dk); font-weight: 500; background: var(--blue-lt); border-radius: 12px; padding: 12px 16px; display: inline-flex; align-items: center; gap: 8px; }
.hero__hint-arrow { font-weight: 800; }

/* Eingebetteter Chat im Hero */
.hero__visual { display: flex; justify-content: center; }
.heroChatEmbed {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 580px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.heroChatEmbed__loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--mid); font-size: 14px; text-align: center; padding: 24px;
}
.heroChatEmbed__logo { width: 64px; height: 64px; animation: bob 3.5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.heroChatEmbed chat-widget { display: block; width: 100%; height: 100%; }

@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(6px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* STAT STRIP */
.statstrip { background: var(--navy); padding: 44px 0 30px; color: var(--white); }
.statstrip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { text-align: center; padding: 0 16px; }
.stat__num { font-family: var(--head); font-size: 2.8rem; font-weight: 800; color: var(--signal); line-height: 1; margin-bottom: 10px; }
.stat__label { font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.45; }
.statstrip__note { text-align: center; font-size: 11px; color: rgba(255,255,255,.4); margin-top: 18px; }

/* SECTIONS */
.section { padding: 84px 0; }
.section--soft { background: var(--cloud); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__head h2 { font-family: var(--head); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.section__lede { font-size: 17px; color: var(--mid); margin-top: 12px; }

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

/* MEET FLINKI (Persona) */
.meet { padding: 72px 0; background: var(--cloud); }
.meet__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.meet__inner h2 { font-family: var(--head); font-size: clamp(1.7rem, 2.9vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.meet__inner p { font-size: 18px; color: var(--mid); margin-bottom: 16px; }
.meet__sign { display: inline-block; font-weight: 600; color: var(--navy); border-left: 4px solid var(--signal); padding-left: 16px; text-align: left; margin-top: 4px; }

/* PILLARS (Das System) */
.pillar { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px 28px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; overflow: hidden; }
.pillar::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--blue); opacity: 0; transition: opacity .18s; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar:hover::before { opacity: 1; }
.pillar__num { font-family: var(--head); font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--signal-dk); margin-bottom: 14px; }
.pillar__icon { width: 54px; height: 54px; border-radius: 15px; background: var(--blue-lt); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px; }
.pillar h3 { font-family: var(--head); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pillar p { font-size: 14.5px; color: var(--mid); }

/* STEPS */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; flex: 1; min-width: 190px; box-shadow: var(--shadow-sm); }
.step__num { width: 46px; height: 46px; margin: 0 auto 14px; background: var(--navy); color: var(--signal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 22px; font-weight: 800; }
.step h3 { font-family: var(--head); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--mid); }
.step__arrow { display: flex; align-items: center; font-size: 26px; color: var(--blue); font-weight: 700; }

/* CHANNELS */
.chan { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.chan__tag { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; color: var(--white); font-size: 17px; margin-bottom: 16px; }
.chan__tag--wa { background: var(--green); }
.chan__tag--ig { background: #E1306A; }
.chan__tag--web { background: var(--blue); }
.chan h3 { font-family: var(--head); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.chan p { font-size: 14.5px; color: var(--mid); }
.kanaele__note { text-align: center; font-size: 15px; color: var(--mid); margin-top: 36px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
summary { font-family: var(--head); font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::after { content: '+'; font-size: 24px; color: var(--blue); flex-shrink: 0; }
details[open] summary::after { content: '−'; }
details p { color: var(--mid); font-size: 15px; margin-top: 12px; }

/* FINAL CTA */
.section--cta { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 55%, var(--navy-dk) 100%); color: var(--white); }
.cta__blob { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,60,.18), transparent 65%); top: -160px; right: -120px; pointer-events: none; }
.cta { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta__mark { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cta h2 { font-family: var(--head); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -.02em; }
.cta p { font-size: 17px; color: rgba(255,255,255,.82); margin-bottom: 28px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* FOOTER */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.6); padding: 48px 0; text-align: center; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.footer__name { font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--white); }
.footer__tag { font-size: 14px; max-width: 420px; margin: 0 auto 20px; }
.footer__bottom { font-size: 13px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .heroChatEmbed { max-width: 100%; height: 520px; }
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .hero__face { width: 104px; height: 104px; }
  .hero__brandring { width: 128px; height: 128px; }
  .statstrip__inner { grid-template-columns: 1fr; gap: 26px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); justify-content: center; }
}
@media (max-width: 540px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .heroChatEmbed { height: 480px; }
}
