/*
Theme Name: YouviaOpzeggen
Theme URI: https://www.youviaopzeggen.nl
Author: YouviaOpzeggen.nl
Author URI: https://www.youviaopzeggen.nl
Description: Onafhankelijke opzegservice voor Youvia-klanten. Opgezet door oud-medewerkers.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: youviaopzeggen
*/

/* ================================================================
   YOUVIAOPZEGGEN THEME — CSS v1.3
   Identiek aan de HTML-versie. Gegenereerd vanuit index.html.
   ================================================================ */
:root{
  /* ── Youvia brand colors (white/yellow/black, zie youvia.nl) ── */
  --yellow:#FFE600;--yellow2:#FFD000;--yellow3:#B8A800;
  --orange:#F5821F;--orange2:#FF9A3C;--orange3:#D96D0A;
  --dark:#0A0A1E;--dark2:#14142B;--dark3:#1E1E3A;
  --white:#fff;--light:#F8F8F8;--light2:#F0F0F0;
  --text:#111111;--text2:#333333;--muted:#6B7280;
  --border:#E5E7EB;--green:#10B981;--red:#EF4444;
  --r:8px;--rl:16px;
  --shadow:0 4px 16px rgba(0,0,0,.10);--shadowlg:0 8px 32px rgba(0,0,0,.15);
  /* legacy aliases */
  --navy:var(--dark);--navy2:var(--dark2);--navy3:var(--dark3);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter',system-ui,sans-serif;color:var(--text);background:var(--white);-webkit-font-smoothing:antialiased}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

/* ── LAYOUT ── */
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 1.5rem}
.section{padding:5rem 0}
.section--dark{background:rgba(255,230,0,.06);color:var(--text)}
.section--alt{background:var(--light)}
.section--card{background:var(--light);color:var(--text)}

/* ── TYPE ── */
h1,h2,h3,h4{font-weight:800;line-height:1.15}
h1{font-size:clamp(1.875rem,4.5vw,3rem)}
h2{font-size:clamp(1.5rem,3vw,2.25rem)}
h3{font-size:clamp(1.1rem,2vw,1.4rem);font-weight:700}
p{font-size:1.0625rem;line-height:1.75}
.lead{font-size:1.2rem;line-height:1.65}
.chip{display:inline-block;background:var(--yellow);color:var(--text);font-size:.8rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;padding:.3rem .85rem;border-radius:50px;margin-bottom:1rem}
.chip--light{background:rgba(255,230,0,.35);color:var(--text2)}

/* ── BUTTONS ── */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:inherit;font-size:1rem;font-weight:700;border:2px solid transparent;border-radius:var(--r);padding:.875rem 2rem;cursor:pointer;text-decoration:none;transition:all .2s;white-space:nowrap}
.btn--primary{background:var(--yellow);color:var(--text);border-color:var(--yellow)}
.btn--primary:hover{background:var(--yellow2);border-color:var(--yellow2);transform:translateY(-2px);box-shadow:0 6px 20px rgba(255,230,0,.45)}
.btn--ghost{background:transparent;color:var(--text);border-color:var(--border)}
.btn--ghost:hover{background:var(--light)}
.btn--white{background:var(--white);color:var(--text);border-color:var(--white)}
.btn--white:hover{background:var(--light)}
.btn--lg{padding:1.1rem 2.5rem;font-size:1.125rem}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}

/* ── DEMO BAR ── */
.demo-bar{background:var(--dark);padding:.5rem 1.5rem;text-align:center;font-size:.8rem;font-weight:600;color:rgba(255,255,255,.8);letter-spacing:.01em}
.demo-bar a:hover{color:var(--yellow)}

/* ── DISCLAIMER ── */
.disc-bar{background:#F59E0B;padding:.6rem 1.5rem;text-align:center;font-size:.875rem;font-weight:600;color:var(--text)}

/* ── HEADER — white bg, black text, yellow CTA (zoals youvia.nl) ── */
.site-header{position:sticky;top:0;z-index:300;background:var(--white);border-bottom:1.5px solid var(--border);transition:box-shadow .2s}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1.5rem;max-width:1160px;margin:0 auto}
.logo{display:flex;align-items:center;gap:.7rem;cursor:pointer}
.logo-icon{width:38px;height:38px;background:var(--yellow);border-radius:var(--r);display:flex;align-items:center;justify-content:center;font-size:1.05rem;font-weight:900;color:var(--text);flex-shrink:0}
.logo-name{display:block;font-size:1.05rem;font-weight:800;color:var(--text)}
.logo-tag{display:block;font-size:.62rem;font-weight:700;letter-spacing:.07em;color:var(--orange);text-transform:uppercase}

/* Nav */
.main-nav{display:flex;align-items:center;gap:.25rem}
.nav-link{color:var(--text2);font-size:.9rem;font-weight:500;padding:.5rem .75rem;border-radius:var(--r);transition:all .2s;border:none;background:none;cursor:pointer;font-family:inherit;white-space:nowrap}
.nav-link:hover{color:var(--text);background:var(--light)}
.nav-link.active{color:var(--text);font-weight:700}
.nav-dropdown{position:relative}
.nav-dropdown-btn{display:flex;align-items:center;gap:.3rem}
.nav-dropdown-btn::after{content:"▾";font-size:.7rem;transition:transform .2s}
.nav-dropdown:hover .nav-dropdown-btn::after{transform:rotate(180deg)}
.dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);left:0;background:var(--white);border:1.5px solid var(--border);border-radius:var(--rl);padding:.75rem;min-width:240px;box-shadow:var(--shadowlg);z-index:400}
.nav-dropdown:hover .dropdown-menu{display:block}
.dropdown-menu a,.dropdown-menu button{display:block;width:100%;text-align:left;color:var(--text2);font-size:.875rem;font-weight:500;padding:.6rem 1rem;border-radius:var(--r);border:none;background:none;cursor:pointer;font-family:inherit;transition:all .2s}
.dropdown-menu a:hover,.dropdown-menu button:hover{color:var(--text);background:var(--light)}
/* Yellow "Inloggen"-stijl CTA (zie youvia.nl header) */
.nav-cta{background:var(--yellow)!important;color:var(--text)!important;border-radius:50px!important;padding:.5rem 1.375rem!important;font-weight:700!important;border:2px solid var(--yellow)!important}
.nav-cta:hover{background:var(--yellow2)!important;border-color:var(--yellow2)!important}
.hamburger{display:none;background:none;border:none;cursor:pointer;padding:.25rem;flex-direction:column;gap:5px}
.hamburger span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px;transition:all .2s}

/* ── PAGE SYSTEM ── */
.page{display:none}
.page.active{display:block}

/* ── HERO — white bg met gele accent (zoals youvia.nl) ── */
.hero{background:var(--white);background-image:radial-gradient(ellipse 70% 50% at 90% 30%,rgba(255,230,0,.18) 0%,transparent 60%);color:var(--text);padding:5.5rem 0 4.5rem;border-bottom:1.5px solid var(--border)}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.hero h1{margin-bottom:1.25rem;color:var(--text)}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero .lead{color:var(--muted);margin-bottom:2rem}
.badges{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:2rem}
.badge{display:flex;align-items:center;gap:.4rem;background:var(--light);border:1.5px solid var(--border);border-radius:50px;padding:.35rem .9rem;font-size:.8rem;font-weight:600;color:var(--text2)}
.badge-icon{color:var(--green)}

/* ── FORM CARD ── */
.form-card{background:var(--white);border-radius:var(--rl);padding:2.25rem;box-shadow:var(--shadowlg);color:var(--text)}
.form-card h2,.form-card h3{color:var(--navy);margin-bottom:.4rem}
.text-link{background:none;border:none;padding:0;color:var(--orange);text-decoration:underline;cursor:pointer;font:inherit;font-size:inherit}
.form-sub{color:var(--muted);font-size:.9rem;margin-bottom:1.5rem}
.field{margin-bottom:1.1rem}
.field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.35rem}
.field input,.field textarea,.field select{width:100%;border:1.5px solid var(--border);border-radius:var(--r);padding:.7rem 1rem;font-family:inherit;font-size:1rem;color:var(--text);transition:border-color .2s;background:var(--white)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(245,130,31,.15)}
.field input[type=file]{background:var(--light);padding:.55rem .75rem;cursor:pointer}
.field textarea{min-height:80px;resize:vertical}
.form-submit{width:100%;margin-top:.5rem}
.form-note{text-align:center;font-size:.78rem;color:var(--muted);margin-top:.85rem}
.form-note a{color:var(--orange)}

/* ── STATS BAR ── */
.stats-bar{background:var(--yellow);padding:2.5rem 0;border-bottom:1.5px solid var(--yellow3)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;text-align:center}
.stat-num{display:block;font-size:2.125rem;font-weight:900;color:var(--text);line-height:1}
.stat-lbl{display:block;font-size:.85rem;font-weight:500;color:var(--text2);margin-top:.3rem}

/* ── STEPS ── */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:3.5rem}
.step{background:var(--white);border:1.5px solid var(--border);border-radius:var(--rl);padding:2rem 1.75rem;transition:box-shadow .2s,transform .2s}
.step:hover{box-shadow:var(--shadowlg);transform:translateY(-4px)}
.step-n{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--yellow);color:var(--text);font-size:1.25rem;font-weight:900;border-radius:50%;margin-bottom:1.25rem}
.step h3{margin-bottom:.65rem}
.step p{color:var(--muted);font-size:.9375rem}

/* ── CONTENT LAYOUT ── */
.content-grid{display:grid;grid-template-columns:1fr 320px;gap:3.5rem;align-items:start}
.prose h2{margin-bottom:1.25rem}
.prose h3{margin:2rem 0 .75rem;color:var(--navy)}
.prose p{color:#374151;margin-bottom:1.25rem}
.prose ul{list-style:none;margin:1rem 0 1.5rem}
.prose ul li{display:flex;align-items:flex-start;gap:.55rem;font-size:1rem;color:#374151;margin-bottom:.6rem}
.prose ul li::before{content:"✓";color:var(--orange);font-weight:900;flex-shrink:0;margin-top:.1rem}
.prose mark{background:rgba(245,130,31,.14);color:var(--orange3);padding:0 .2rem;border-radius:3px}
.sticky-card{background:var(--yellow);color:var(--text);border-radius:var(--rl);padding:1.875rem;position:sticky;top:90px;border:1.5px solid var(--yellow3)}
.sticky-card h3{margin-bottom:.75rem;color:var(--text)}
.sticky-card p{color:var(--text2);font-size:.9rem}
.price-box{background:rgba(0,0,0,.07);border:1px solid rgba(0,0,0,.12);border-radius:var(--r);padding:1.1rem;text-align:center;margin:1.1rem 0}
.price-big{font-size:1.75rem;font-weight:900;color:var(--text)}
.price-sub{font-size:.78rem;color:var(--text2)}
.check-list{list-style:none;padding:0;margin:.75rem 0}
.check-list li{display:flex;gap:.5rem;align-items:flex-start;font-size:.875rem;color:var(--text2);margin-bottom:.55rem}
.check-list li::before{content:"✓";color:var(--text);font-weight:900;flex-shrink:0}
.sticky-btn{width:100%;justify-content:center;margin-top:1.25rem}

/* ── SECTION HEADER ── */
.sh{text-align:center;max-width:680px;margin:0 auto}
.sh p{color:var(--muted);font-size:1.0625rem;margin-top:.75rem}
.sh--light h2{color:var(--text)}
.sh--light p{color:var(--text2)}

/* ── TEAM ── */
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3rem}
.team-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--rl);padding:1.875rem 1.5rem;text-align:center;box-shadow:var(--shadow)}
.avatar{width:68px;height:68px;border-radius:50%;background:var(--yellow);display:flex;align-items:center;justify-content:center;font-size:1.625rem;font-weight:900;color:var(--text);margin:0 auto 1rem}
.team-card h3{font-size:1.1rem;margin-bottom:.25rem;color:var(--text)}
.team-role{font-size:.78rem;color:var(--orange);font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:.7rem}
.team-card p{font-size:.875rem;color:var(--text2)}

/* ── TESTIMONIALS ── */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:3rem}
.testi{background:var(--white);border:1.5px solid var(--border);border-radius:var(--rl);padding:1.875rem}
.stars{color:var(--orange);font-size:1.05rem;margin-bottom:.75rem}
.testi p{font-size:.9375rem;color:#374151;font-style:italic}
.testi-author{display:flex;align-items:center;gap:.7rem;margin-top:1.1rem}
.tauth-av{width:40px;height:40px;border-radius:50%;background:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--orange);font-size:.85rem;flex-shrink:0}
.tauth-name{font-size:.85rem;font-weight:700;display:block}
.tauth-loc{font-size:.78rem;color:var(--muted)}

/* ── FAQ ── */
.faq-wrap{max-width:780px;margin-top:3rem}
details{border-bottom:1.5px solid var(--border);padding:1.2rem 0}
details:first-child{border-top:1.5px solid var(--border)}
summary{font-size:1.0625rem;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;align-items:center;list-style:none;user-select:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:1.4rem;color:var(--orange);transition:transform .2s;flex-shrink:0}
details[open] summary::after{transform:rotate(45deg)}
details p{margin-top:.9rem;color:var(--muted);font-size:.9375rem}

/* ── REVIEWS PAGE ── */
.reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem;margin-top:3rem}
.review-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--rl);padding:1.875rem}
.review-card.neg{border-left:4px solid var(--red)}
.review-source{font-size:.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem}
.review-stars-neg{color:var(--red);font-size:1rem;margin-bottom:.75rem}
.review-text{font-size:.9375rem;color:#374151;font-style:italic;margin-bottom:1rem;line-height:1.7}
.review-meta{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--muted)}
.review-score{display:inline-flex;align-items:center;gap:.4rem;background:rgba(239,68,68,.08);color:var(--red);font-weight:700;font-size:.8rem;padding:.25rem .7rem;border-radius:50px}
.score-bar-wrap{margin:2.5rem 0;background:var(--white);border:1.5px solid var(--border);border-radius:var(--rl);padding:2rem}
.score-row{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem}
.score-label{width:100px;font-size:.875rem;font-weight:600;flex-shrink:0}
.score-bar{flex:1;height:10px;background:var(--border);border-radius:5px;overflow:hidden}
.score-fill{height:100%;border-radius:5px;background:var(--red)}
.score-pct{width:40px;text-align:right;font-size:.85rem;font-weight:700;color:var(--muted);flex-shrink:0}
.big-score{font-size:4rem;font-weight:900;color:var(--red);line-height:1}
.big-score-lbl{font-size:.9rem;color:var(--muted);margin-top:.25rem}

/* ── ALERT BOX ── */
.alert{border-radius:var(--r);padding:1.25rem 1.5rem;margin:2rem 0}
.alert--info{background:rgba(245,130,31,.08);border:1px solid rgba(245,130,31,.25)}
.alert--info p{color:var(--orange3);font-size:.9375rem;margin:0}
.alert--warn{background:rgba(239,68,68,.06);border:1px solid rgba(239,68,68,.2)}
.alert--warn p{color:#B91C1C;font-size:.9375rem;margin:0}

/* ── CTA SECTION ── */
.cta-sec{padding:5rem 0;background:var(--yellow);text-align:center;border-top:1.5px solid var(--yellow3);border-bottom:1.5px solid var(--yellow3)}
.cta-sec h2{color:var(--text);max-width:600px;margin:0 auto 1.25rem}
.cta-sec p{color:var(--text2);max-width:520px;margin:0 auto 2rem;font-size:1.0625rem}

/* ── FOOTER DISCLAIMER ── */
.foot-disc{background:#F59E0B;border-top:3px solid #D97706;padding:1.1rem;text-align:center}
.foot-disc p{font-size:.85rem;font-weight:600;color:var(--text);max-width:900px;margin:0 auto}

/* ── FOOTER ── */
.site-footer{background:var(--navy);color:rgba(255,255,255,.65);padding:4rem 0 2rem}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:2rem;margin-bottom:3rem}
.foot-brand p{font-size:.875rem;margin-top:1rem;line-height:1.7}
.foot-col h4{color:var(--white);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1rem}
.foot-col ul{list-style:none}
.foot-col ul li{margin-bottom:.5rem}
.foot-col ul li a,.foot-col ul li button{color:rgba(255,255,255,.6);font-size:.875rem;text-decoration:none;background:none;border:none;cursor:pointer;font-family:inherit;transition:color .2s;padding:0;text-align:left}
.foot-col ul li a:hover,.foot-col ul li button:hover{color:var(--orange)}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;font-size:.82rem}
.foot-bottom a{color:rgba(255,255,255,.55);text-decoration:none}
.foot-bottom a:hover{color:var(--orange)}

/* ── ICON FEATURE ── */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3.5rem}
.feat{text-align:center;padding:2rem 1.5rem}
.feat-icon{width:64px;height:64px;background:rgba(245,130,31,.12);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;font-size:1.75rem}
.feat h3{margin-bottom:.65rem}
.feat p{color:var(--muted);font-size:.9375rem}

/* ── PROCESS ── */
.process-list{counter-reset:proc;margin-top:3rem}
.proc-item{display:grid;grid-template-columns:64px 1fr;gap:1.5rem;margin-bottom:2rem;align-items:start}
.proc-num{width:54px;height:54px;border-radius:50%;background:var(--orange);color:var(--white);font-size:1.25rem;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.proc-item h3{margin-bottom:.5rem}
.proc-item p{color:var(--muted);font-size:.9375rem}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:2.5rem}
  .form-card{max-width:540px}
  .content-grid{grid-template-columns:1fr}
  .sticky-card{position:static}
  .foot-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .team-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .section{padding:3.5rem 0}
  .steps-grid,.testi-grid,.features-grid{grid-template-columns:1fr}
  #team [style*="grid-template-columns:repeat(2,1fr)"]{grid-template-columns:1fr!important}
  .stats-grid{grid-template-columns:1fr 1fr}
  .reviews-grid{grid-template-columns:1fr}
  .main-nav{display:none;flex-direction:column;align-items:stretch;position:absolute;top:70px;left:0;right:0;background:var(--white);border-top:1.5px solid var(--border);padding:1.25rem 1.5rem;gap:.5rem;box-shadow:var(--shadowlg)}
  .main-nav.open{display:flex}
  .nav-dropdown-btn::after{display:none}
  .dropdown-menu{display:block;position:static;box-shadow:none;border:none;background:var(--light);margin-top:.25rem;padding:.5rem .75rem}
  .hamburger{display:flex}
  .foot-grid{grid-template-columns:1fr;gap:1.5rem}
}
@media(max-width:480px){
  .team-grid{grid-template-columns:1fr}
  .hero{padding:3.5rem 0 3rem}
  .btn{padding:.8rem 1.5rem;font-size:.9375rem}
}

/* === WORDPRESS-SPECIFIEK === */
.entry-content { max-width: 780px; margin: 0 auto; }
