/* ============================================================
   Tippie — marketing site
   Warm oranje (#F5822E) · grote vette koppen · afgeronde kaarten
   ============================================================ */

:root {
  --oranje: #F5822E;
  --oranje-diep: #DE6C18;
  --oranje-zacht: #FDEFE3;
  --oranje-wolk: #FEF8F2;
  --oranje-tekst: #B5540A; /* toegankelijke tekst-oranje: 4.88:1 op wit */
  --inkt: #1C1611;
  --grijs: #756B60;
  --grijs-licht: #6E6357;
  --wit: #FFFDFB;
  --lijn: #F1E6D9;
  --radius-l: 28px;
  --radius-m: 20px;
  --schaduw: 0 18px 40px -18px rgba(28, 22, 17, 0.18);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--inkt);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--inkt);
  text-wrap: balance;
}

.kicker {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oranje-tekst);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 48px;
}

/* ---------- Badges (oranje afgeronde vierkantjes) ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oranje);
  color: #fff;
  border-radius: 10px;
  flex: none;
}

.badge svg { width: 58%; height: 58%; }

.badge-star {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  transform: rotate(8deg);
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-primary {
  background: var(--oranje);
  color: #fff;
}
.btn-primary:hover { background: var(--oranje-diep); }

.btn-dark {
  background: var(--inkt);
  color: #fff;
  padding: 12px 24px;
  text-align: left;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--schaduw);
}

.btn-light {
  background: #fff;
  color: var(--inkt);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--schaduw); }

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

.btn-disabled { cursor: default; opacity: 0.55; }
.btn-disabled:hover { background: var(--inkt); transform: none; box-shadow: none; }
.btn-disabled:active { transform: none; }

/* Spring-naar-inhoud (zichtbaar bij toetsenbord-focus) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  background: var(--inkt);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.16s ease;
}
.skip-link:focus { top: 12px; }

.btn-icon { width: 26px; height: 26px; flex: none; }

.btn-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.btn-stack small { font-size: 11px; font-weight: 500; opacity: 0.75; }
.btn-stack strong { font-size: 17px; font-weight: 700; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 251, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lijn);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}

.wordmark-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--inkt);
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--grijs);
  font-weight: 500;
  font-size: 15.5px;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--inkt); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--inkt);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

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

.hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 480px at 85% -10%, var(--oranje-zacht) 0%, transparent 65%),
    var(--wit);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: clamp(48px, 7.2vw, 84px);
  line-height: 0.98;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-title em {
  font-style: normal;
  color: var(--oranje);
}

.hero-dot { color: var(--oranje); }

.hero-sub {
  max-width: 42ch;
  margin-top: 22px;
  font-size: 19px;
  color: var(--grijs);
  animation: rise 0.7s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  scroll-margin-top: 110px;
  animation: rise 0.7s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--grijs-licht);
  animation: rise 0.7s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Foto-bubbels */

.hero-visual {
  position: relative;
  min-height: 460px;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  box-shadow: var(--schaduw);
  animation: zweef 7s ease-in-out infinite;
}

.bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
}

.badge-bubble {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  bottom: 4px;
  right: 4px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 18px -6px rgba(222, 108, 24, 0.55);
}

.bubble-1 { width: 215px; height: 215px; top: 0;     left: 8%;  animation-delay: 0s; }
.bubble-2 { width: 150px; height: 150px; top: 40px;  right: 4%; animation-delay: -2.2s; }
.bubble-3 { width: 130px; height: 130px; bottom: 36px; left: 0;  animation-delay: -4.1s; }
.bubble-4 { width: 185px; height: 185px; bottom: 0;  right: 14%; animation-delay: -5.6s; }

.bubble-2 .badge-bubble, .bubble-3 .badge-bubble { width: 36px; height: 36px; border-radius: 12px; }

.hero-spark {
  position: absolute;
  border-radius: 50%;
  background: var(--oranje);
  opacity: 0.18;
}
.spark-1 { width: 26px; height: 26px; top: 34%; left: 46%; }
.spark-2 { width: 14px; height: 14px; top: 12%; right: 32%; }

@keyframes zweef {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Chips */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--lijn);
}

.chip {
  font-size: 15px;
  font-weight: 500;
  color: var(--grijs);
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---------- Secties ---------- */

.section { padding: 96px 0; }

.section-tint {
  background: var(--oranje-wolk);
  border-block: 1px solid var(--lijn);
}

/* ---------- Stappen ---------- */

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

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--schaduw);
}

.badge-step, .badge-feature {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 22px;
  transform: rotate(-4deg);
}

.step-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--oranje-zacht);
}

.step-card h3 { font-size: 21px; margin-bottom: 10px; }
.step-card p { color: var(--grijs); font-size: 15.5px; }

/* ---------- Functies ---------- */

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

.feature-card {
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--schaduw);
}

.feature-card h3 { font-size: 21px; margin-bottom: 10px; }
.feature-card p { color: var(--grijs); font-size: 15.5px; }

.feature-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
}

.feature-wide h3 { font-size: 26px; }

.feature-media img {
  border-radius: var(--radius-m);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* Telefoon-kaart */

.feature-phone {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--oranje-zacht) 100%);
}

.phone {
  width: 230px;
  border-radius: 36px;
  background: var(--inkt);
  padding: 10px;
  box-shadow: var(--schaduw);
  transform: rotate(2deg);
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
}

.phone-photo {
  position: relative;
  height: 130px;
  background-size: cover;
  background-position: center;
}

.phone-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(28, 22, 17, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 8px;
}

.phone-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 14px;
  text-align: left;
}

.phone-title { font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.phone-meta { font-size: 11.5px; color: var(--grijs); }

.phone-row { display: flex; align-items: center; gap: 7px; }

.phone-avatars { display: inline-flex; }
.phone-avatars i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #F5B06E, #DE6C18);
}
.phone-avatars i + i { margin-left: -7px; background: linear-gradient(135deg, #9ED0B5, #4E8D6E); }
.phone-avatars i + i + i { background: linear-gradient(135deg, #A7C4E2, #5077A3); }

.phone-tipcount { font-size: 11px; font-weight: 600; color: var(--inkt); }

.phone-star {
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: var(--oranje);
  border-radius: 7px;
  padding: 2px 7px;
}

.phone-chip {
  font-size: 10.5px;
  font-weight: 600;
  color: #2E7D4F;
  background: #E7F4EC;
  border-radius: 999px;
  padding: 3px 10px;
}

.phone-btn {
  width: 100%;
  text-align: center;
  background: var(--oranje);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 0;
  margin-top: 4px;
}

/* ---------- Privacy ---------- */

.privacy-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.privacy-inner .section-title { margin-bottom: 28px; }

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--grijs);
  font-size: 16.5px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
  border-radius: 9px;
  background: var(--oranje-zacht);
  color: var(--oranje-tekst);
  font-weight: 700;
  font-size: 14px;
}

.privacy-visual {
  position: relative;
  justify-self: center;
}

.privacy-visual img {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--schaduw);
}

.badge-lock {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  bottom: -14px;
  left: -14px;
  right: auto;
  transform: rotate(-6deg);
}

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

.section-cta { padding-top: 24px; }

.cta-panel {
  background: var(--oranje);
  background:
    radial-gradient(640px 320px at 12% 120%, rgba(255, 255, 255, 0.22) 0%, transparent 60%),
    var(--oranje);
  border-radius: var(--radius-l);
  padding: 72px 40px;
  text-align: center;
  color: #fff;
}

.cta-panel h2 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 48px);
  margin-bottom: 14px;
}

.cta-panel p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.wordmark-footer .wordmark-text { font-size: 22px; }
.wordmark-footer .badge-star { width: 20px; height: 20px; border-radius: 6px; }

.footer-nav { display: flex; gap: 22px; margin-left: auto; }

.footer-nav a {
  text-decoration: none;
  color: var(--grijs);
  font-size: 14.5px;
}
.footer-nav a:hover { color: var(--inkt); }

.footer-note {
  width: 100%;
  font-size: 13px;
  color: var(--grijs-licht);
}

/* ---------- Scroll-reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsief ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }

  .hero-visual {
    min-height: 320px;
    margin-top: 24px;
  }

  .bubble-1 { width: 165px; height: 165px; left: 2%; }
  .bubble-2 { width: 120px; height: 120px; right: 2%; }
  .bubble-3 { width: 100px; height: 100px; bottom: 12px; }
  .bubble-4 { width: 140px; height: 140px; right: 8%; }

  .steps { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature-phone { grid-column: auto; grid-row: auto; }


  .privacy-inner { grid-template-columns: 1fr; gap: 40px; }

  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--wit);
    border-bottom: 1px solid var(--lijn);
    padding: 8px 24px 16px;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a { padding: 12px 0; font-size: 17px; }

  .header-cta { display: none; }

  .nav-toggle { display: flex; }

  .hero { padding-top: 48px; }

  .hero-actions .btn-dark { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Toegankelijkheid ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubble { animation: none; }
  .hero-title, .hero-sub, .hero-actions, .hero-note { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .step-card, .feature-card { transition: none; }
}
