/* Flip 2 Trip — gedeelde header, footer en mobiele verbeteringen voor alle sitepagina's.
   Header en footer staan als vaste HTML in elke pagina (tools/layout.py houdt ze gelijk). */

html,body{overflow-x:hidden}
img{max-width:100%}

/* ---------- Header ---------- */
.f2t-head{position:fixed;top:0;left:0;right:0;z-index:2000;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(63,81,181,.08);box-shadow:0 6px 24px rgba(30,41,59,.06);font-family:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif}
.f2t-head.f2t-flow{position:sticky}
.f2t-head-in{max-width:1320px;margin:0 auto;height:90px;padding:0 28px;display:flex;align-items:center;gap:24px;box-sizing:border-box}
.f2t-logo{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.f2t-logo img{height:62px;width:auto;display:block;max-width:none}
.f2t-links{display:flex;align-items:center;gap:4px;margin-left:auto}
.f2t-links a{color:#1e293b;text-decoration:none;font-weight:700;font-size:15px;padding:10px 12px;border-radius:12px;white-space:nowrap;transition:background .15s,color .15s}
.f2t-links a:hover{background:#f1f2f8;color:#3F51B5}
.f2t-links a.cur{color:#3F51B5;background:#eef0fb}
.f2t-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.f2t-login{color:#3F51B5;text-decoration:none;font-weight:800;font-size:14px;padding:11px 14px;border:1.5px solid rgba(63,81,181,.25);border-radius:14px;white-space:nowrap}
.f2t-login:hover{background:#eef0fb}
.f2t-cta{background:#3F51B5;color:#fff!important;text-decoration:none;font-weight:800;font-size:14px;padding:13px 18px;border-radius:14px;white-space:nowrap;box-shadow:0 8px 20px rgba(63,81,181,.28)}
.f2t-cta:hover{background:#2f3d8f}
.f2t-burger{display:none;align-items:center;justify-content:center;gap:8px;border:none;background:#3F51B5;color:#fff;border-radius:14px;height:46px;padding:0 16px;font:800 14px 'Plus Jakarta Sans',system-ui,sans-serif;cursor:pointer;flex-shrink:0}
.f2t-burger i{display:block;width:18px;height:2px;background:#fff;border-radius:2px;position:relative}
.f2t-burger i::before,.f2t-burger i::after{content:'';position:absolute;left:0;width:18px;height:2px;background:#fff;border-radius:2px}
.f2t-burger i::before{top:-6px}.f2t-burger i::after{top:6px}

/* Uitklapmenu (mobiel en tablet) */
.f2t-menu{display:none;position:fixed;inset:0;z-index:3000;background:rgba(15,23,42,.5);align-items:flex-start;justify-content:center;padding:10px;font-family:'Plus Jakarta Sans',system-ui,sans-serif}
.f2t-menu.open{display:flex}
.f2t-menu .panel{background:#fff;width:100%;max-width:460px;max-height:calc(100dvh - 20px);overflow:auto;border-radius:24px;padding:14px 14px 18px;box-shadow:0 20px 60px rgba(0,0,0,.25);animation:f2tdrop .22s ease;box-sizing:border-box}
.f2t-menu .top{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 10px}
.f2t-menu .top img{height:44px;width:auto}
.f2t-menu .x{border:none;background:#f1f2f8;border-radius:12px;width:46px;height:46px;font-size:24px;color:#1e293b;cursor:pointer}
.f2t-menu a.l{display:flex;justify-content:space-between;align-items:center;padding:15px 12px;border-radius:14px;color:#1e293b;text-decoration:none;font-weight:700;font-size:17px}
.f2t-menu a.l:active,.f2t-menu a.l.cur{background:#f1f2f8;color:#3F51B5}
.f2t-menu a.l::after{content:'›';color:#94a3b8;font-size:22px}
.f2t-menu a.cta{display:block;text-align:center;margin-top:10px;background:#3F51B5;color:#fff;padding:17px;border-radius:16px;font-weight:800;font-size:16px;text-decoration:none;box-shadow:0 10px 25px rgba(63,81,181,.28)}
.f2t-menu a.login{display:block;text-align:center;margin-top:8px;color:#3F51B5;border:1.5px solid rgba(63,81,181,.25);padding:15px;border-radius:16px;font-weight:800;font-size:15px;text-decoration:none}
@keyframes f2tdrop{from{transform:translateY(-12px);opacity:0}to{transform:none;opacity:1}}

@media (max-width:1180px){
  .f2t-links{display:none}
  .f2t-actions{margin-left:auto}
  .f2t-burger{display:flex}
}
@media (max-width:820px){
  .f2t-head{position:sticky}
  .f2t-head-in{height:74px;padding:0 16px;gap:12px}
  .f2t-logo img{height:50px}
  .f2t-login{display:none}
  .f2t-cta{padding:12px 14px;font-size:13px}
}
@media (max-width:600px){
  .f2t-head .f2t-cta{display:none}
  .f2t-head-in{gap:8px}
  .f2t-logo img{height:44px}
  .f2t-burger{height:44px;padding:0 14px}
}
@media (max-width:360px){
  .f2t-logo img{height:38px}
}

/* ---------- Footer ---------- */
.f2t-foot{background:#0f172a;color:#cbd5e1;font-family:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;padding:72px 28px 0;text-align:left;margin:0}
.f2t-foot *{box-sizing:border-box}
.f2t-foot-in{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px}
/* Nieuwsbrief-aanmelding in de footer */
.f2t-news{max-width:1240px;margin:0 auto 56px;background:linear-gradient(135deg,#3F51B5,#5b4bc4);border-radius:24px;padding:28px 30px;display:grid;grid-template-columns:1.1fr 1fr;gap:20px 34px;align-items:center}
.f2t-news-t b{display:block;color:#fff;font-size:20px;font-weight:800;line-height:1.3;margin-bottom:6px}
.f2t-news-t span{color:#dfe3ff;font-size:14px;line-height:1.55}
.f2t-news form{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.f2t-news input[type=email]{flex:1 1 220px;min-width:0;border:none;border-radius:14px;padding:15px 16px;font:600 15px 'Plus Jakarta Sans',system-ui,sans-serif;color:#1e293b;background:#fff;margin:0}
.f2t-news button{border:none;border-radius:14px;padding:15px 20px;background:#0f172a;color:#fff;font:800 15px 'Plus Jakarta Sans',system-ui,sans-serif;cursor:pointer}
.f2t-news button:hover{background:#1e293b}.f2t-news button:disabled{opacity:.7}
.f2t-news .nl-msg{flex:1 1 100%;margin:0;color:#fff;font-size:13px;line-height:1.5;max-width:none;min-height:0}
.f2t-news .nl-msg:empty{display:none}.f2t-news .nl-msg[data-state=err]{color:#ffe1e1}
.f2t-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
@media (max-width:820px){.f2t-news{grid-template-columns:1fr;padding:22px 20px;margin-bottom:40px;border-radius:20px}.f2t-news-t b{font-size:18px}.f2t-news button{flex:1 1 100%}}
.f2t-foot img.f2t-flogo{height:52px;width:auto;display:block;filter:brightness(0) invert(1);margin:0 0 18px;max-width:none}
.f2t-foot p{color:#94a3b8;font-size:15px;line-height:1.6;margin:0 0 20px;max-width:340px}
.f2t-foot h3,.f2t-foot h4{color:#fff;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:1.2px;margin:6px 0 18px;padding:0;border:0}
.f2t-foot ul{list-style:none;margin:0;padding:0}
.f2t-foot li{margin:0 0 4px;padding:0;font-size:15px;color:#94a3b8;line-height:1.4}
.f2t-foot li a,.f2t-foot li>span{display:inline-flex;align-items:center;min-height:36px}
.f2t-foot li::before{content:none}
.f2t-foot a{color:#cbd5e1;text-decoration:none;font-weight:600}
.f2t-foot a:hover{color:#fff}
.f2t-foot .f2t-fcta{display:inline-block;background:#3F51B5;color:#fff;padding:13px 20px;border-radius:14px;font-weight:800;font-size:14px;margin-bottom:22px}
.f2t-foot .f2t-fcta:hover{background:#5263c9}
.f2t-socials{display:flex;gap:10px}
.f2t-socials a{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:background .15s}
.f2t-socials a:hover{background:#3F51B5}
.f2t-socials svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.f2t-foot-bottom{max-width:1240px;margin:56px auto 0;padding:22px 0 calc(22px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.1);display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:space-between;font-size:13px;color:#94a3b8}
.f2t-foot-bottom nav,.f2t-foot-bottom .f2t-legal{display:flex;flex-wrap:wrap;gap:8px 18px;position:static;background:none;padding:0;box-shadow:none;width:auto;height:auto}
.f2t-foot-bottom a{color:#94a3b8;font-weight:600;display:inline-flex;align-items:center;min-height:44px}
@media (max-width:960px){.f2t-foot-in{grid-template-columns:1fr 1fr;gap:36px 28px}.f2t-fb{grid-column:1/-1}}
@media (max-width:520px){
  .f2t-foot{padding:52px 20px 0}
  .f2t-foot-in{grid-template-columns:1fr 1fr;gap:30px 18px}
  .f2t-fcontact{grid-column:1/-1}
  .f2t-foot-bottom{margin-top:40px;flex-direction:column}
}

/* ---------- Mobiele verbeteringen voor bestaande pagina-opmaak ---------- */
@media (max-width:820px){
  .hero-container,.split-section,.dest-container,.glass-box,.steps-grid,.destinations-grid-side,[style*='grid-template-columns']{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
  /* Gekleurde blokken (stappen, voordelen): naast elkaar, doorheen swipen */
  .steps-grid,.usp-grid,.f2t-swipe{position:relative;display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px!important;padding:4px 2px 6px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .steps-grid::-webkit-scrollbar,.usp-grid::-webkit-scrollbar,.f2t-swipe::-webkit-scrollbar{display:none}
  .steps-grid>*,.usp-grid>*,.f2t-swipe>*{flex:0 0 84%;scroll-snap-align:center;min-width:0;padding:28px 24px!important;box-sizing:border-box}
  .steps-dots{display:flex!important;justify-content:center;gap:8px;margin-top:14px}
  .steps-dots button{width:8px;height:8px;border-radius:99px;border:none;padding:0;background:#c7cbe0;transition:width .2s,background .2s;cursor:pointer}
  .steps-dots button.on{width:22px;background:#3F51B5}
  .hero-container>*,.split-section>*,[style*='grid-template-columns']>*{min-width:0!important}
  .why-container,.why-section .split-section{display:flex!important;flex-direction:column!important;gap:24px!important}
  .why-container>*,.why-section .split-section>*{width:100%!important;max-width:100%!important}
  .why-container img,.why-section img{width:100%!important;height:clamp(200px,58vw,300px)!important;object-fit:cover!important}
  .hero-logo{width:170px!important;max-width:60vw!important;height:auto!important;margin:0 auto 14px!important;opacity:1!important}
  .trend-badge-cat{font-size:11px!important}
  .trend-name{overflow-wrap:anywhere;hyphens:auto;font-size:15px!important}
  [style*='position: sticky'],[style*='position:sticky']{position:static!important}
  main>section,body>section,.section-trends,.section-steps,.faq-section,.final-cta,[class*='section']{padding-left:20px!important;padding-right:20px!important}
  main>section,body>section,.section-trends,.section-steps,.faq-section,.final-cta{padding-top:52px!important;padding-bottom:52px!important}
  .hero,section.hero{padding:36px 20px 44px!important;min-height:0!important}
  [style*='padding: 50px'],[style*='padding: 60px'],[style*='padding: 80px']{padding:26px 20px!important}
  [style*='gap: 80px'],[style*='gap: 60px']{gap:28px!important}
  [style*='max-width: 600px'],[style*='max-width:600px']{max-width:100%!important}
  h1{font-size:clamp(30px,8.6vw,40px)!important;line-height:1.12!important;letter-spacing:-1px!important;overflow-wrap:break-word;hyphens:auto}
  h2{overflow-wrap:break-word;hyphens:auto}
  h2[style*='font-size: 3'],h2[style*='font-size: 4'],h2[style*='font-size:3'],h2[style*='font-size:4'],.section-header h2{font-size:clamp(24px,7vw,30px)!important;line-height:1.2!important}
  p[style*='font-size: 1.3rem'],p[style*='font-size: 1.25rem'],.hero-content p,.hero p{font-size:17px!important}
  img[style*='object-fit'],img[style*='height: 4'],img[style*='height: 5'],img[style*='height:4'],img[style*='height:5'],#dyn-dest-img{width:100%!important;max-width:100%!important;height:clamp(200px,58vw,300px)!important;object-fit:cover!important;border-width:6px!important;border-radius:22px!important}
  .hero-images,.hero-images-side{display:grid!important;grid-template-columns:1fr 1.35fr 1fr!important;gap:8px!important;align-items:center!important;transform:none!important;width:calc(100% + 24px)!important;max-width:540px!important;margin:12px -12px 0!important;padding:0!important;height:auto!important;overflow:visible!important}
  .why-section .split-section>.hero-images{width:calc(100% + 40px)!important;max-width:540px!important;margin:12px -20px 0!important}
  .hero-images img,.hero-images-side img,.hero-images .hero-card,.hero-images-side .hero-card{position:static!important;width:100%!important;height:auto!important;aspect-ratio:3/4;object-fit:cover!important;margin:0!important;transform:none!important;border-width:3px!important;border-radius:16px!important;max-width:none!important}
  .hero-images img,.hero-images-side img,.hero-images .hero-card,.hero-images-side .hero-card{aspect-ratio:5/8;box-shadow:0 12px 28px rgba(15,23,42,.14)!important}
  .hero-images img:nth-child(2),.hero-images-side img:nth-child(2){aspect-ratio:5/8.6}
  .hero .btn,.hero a.btn,.hero-content .btn{display:block!important;width:100%!important;max-width:340px;margin:10px auto 0!important;text-align:center;box-sizing:border-box}
  .hero-buttons,.hero-btns,.cta-group{display:flex!important;flex-direction:column!important;gap:10px!important;align-items:stretch!important;width:100%}
}
@media (min-width:821px){.hero-logo{width:260px!important;max-width:260px!important;height:auto!important;opacity:1!important}}

.steps-dots{display:none}
/* Voormalige h4-koppen (nu h3 voor een logische kopvolgorde): zelfde standaardmaat als h4 */
:where([data-h4]){font-size:1em;margin-top:1.33em;margin-bottom:1.33em}
/* ---------- Taalkeuze ---------- */
.f2t-lang{position:relative}
.f2t-lang summary{list-style:none;display:flex;align-items:center;gap:6px;cursor:pointer;color:#1e293b;font-weight:800;font-size:13px;padding:10px 11px;border-radius:12px;border:1.5px solid #e2e8f0;background:#fff;min-height:42px}
.f2t-lang summary::-webkit-details-marker{display:none}
.f2t-lang summary:hover,.f2t-lang[open] summary{border-color:rgba(63,81,181,.35);color:#3F51B5}
.f2t-lang svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.f2t-lang-list{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #e7e9f2;border-radius:16px;box-shadow:0 20px 40px rgba(15,23,42,.14);padding:6px;min-width:190px;z-index:1200}
.f2t-lang-list a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:11px;color:#1e293b;text-decoration:none;font-weight:600;font-size:15px}
.f2t-lang-list a b{display:inline-block;min-width:26px;font-size:12px;color:#64748b}
.f2t-lang-list a:hover{background:#f1f2f8}
.f2t-lang-list a[aria-current]{color:#3F51B5;background:#eef0fb}
.f2t-lang-list a[aria-current] b{color:#3F51B5}
@media (max-width:600px){.f2t-lang summary{padding:0 10px;height:44px;min-height:0;gap:5px}}
.f2t-langhint{position:fixed;left:50%;transform:translateX(-50%);top:84px;z-index:1100;display:flex;align-items:center;gap:12px;background:#1e293b;color:#fff;border-radius:16px;padding:10px 10px 10px 16px;box-shadow:0 18px 40px rgba(15,23,42,.25);font:600 14px 'Plus Jakarta Sans',system-ui,sans-serif;max-width:calc(100% - 32px)}
.f2t-langhint a{background:#3F51B5;color:#fff;text-decoration:none;font-weight:800;padding:8px 12px;border-radius:11px;white-space:nowrap}
.f2t-langhint button{background:none;border:0;color:#cbd5e1;font-size:22px;line-height:1;cursor:pointer;padding:4px 6px}
@media (max-width:820px){.f2t-langhint{top:84px;width:calc(100% - 32px);justify-content:space-between;font-size:13px}}
