/* ===========================
   WI-Solutions — Stylesheet
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #2D2D2D;
  --teal:   #29ABE2;
  --teal-light: #55C6F0;
  --light:  #F4F7FA;
  --white:  #FFFFFF;
  --text:   #2D3748;
  --muted:  #6B7280;
  --border: #E2E8F0;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(41,171,226,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .8rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: #1a1a1a; border-color: #1a1a1a; color: var(--white); }

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(45,45,45,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.nav-logo span { color: var(--teal); }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* --- Hero --- */
.hero {
  background:
    linear-gradient(135deg, rgba(45,45,45,0.92) 0%, rgba(45,45,45,0.80) 60%, rgba(45,45,45,0.88) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(41,171,226,.12);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(41,171,226,.08);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.hero-tag {
  display: inline-block;
  background: rgba(41,171,226,.25);
  color: #55C6F0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(41,171,226,.4);
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: #55C6F0; font-style: normal; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.5rem;
  max-width: 580px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: .3rem; display: block; }

/* --- Sections --- */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.8); }
.section-dark .section-label { color: #55C6F0; }

.section-header { max-width: 640px; margin-bottom: 3rem; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--teal);
  transform: scaleY(0);
  transition: transform .25s;
  transform-origin: bottom;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--teal);
}
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(41,171,226,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

/* --- USP Strip --- */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin: 2rem 0;
}
.usp-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.usp-check {
  width: 28px; height: 28px;
  background: rgba(41,171,226,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
  margin-top: .15rem;
}
.usp-item p { font-size: .9rem; color: rgba(255,255,255,.8); margin: 0; }
.usp-item strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: .15rem; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--teal);
  opacity: .15;
  position: absolute;
  top: .5rem; left: 1.25rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-card.expanded .testimonial-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.testimonial-toggle {
  background: none;
  border: none;
  color: #29ABE2;
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: none;
}
.testimonial-toggle:hover { text-decoration: underline; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.author-role { font-size: .8rem; color: var(--muted); }

/* --- Testimonial slider --- */
.tc-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.5rem;
}
.tc-viewport {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 1rem .25rem;
  margin: -1rem -.25rem;
}
.tc-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  align-items: stretch;
  will-change: transform;
}
.testimonial-card.tc-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .testimonial-card.tc-slide { flex: 0 0 calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1024px) {
  .testimonial-card.tc-slide { flex: 0 0 calc((100% - 3rem) / 3); }
}
.tc-btn {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(0,0,0,0.08);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  transition: all .2s;
}
.tc-btn:hover:not(:disabled) {
  background: #29ABE2;
  color: var(--white);
  transform: scale(1.05);
}
.tc-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.tc-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.tc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all .2s;
}
.tc-dot:hover { background: rgba(0,0,0,0.35); }
.tc-dot.active {
  background: #29ABE2;
  transform: scale(1.4);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #29ABE2 0%, #1a7ec2 100%);
  border-radius: 16px;
  padding: 3.5rem;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 540px; margin: 0 auto 2rem; }

/* --- Process Steps --- */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card-img {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}
.blog-card-body { padding: 1.5rem; }
.blog-tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .5rem;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: .65rem; line-height: 1.4; }
.blog-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.blog-meta { font-size: .8rem; color: var(--muted); }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(41,171,226,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--teal);
}
.contact-item strong { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .2rem; }
.contact-item a { font-weight: 600; color: var(--navy); }
.contact-item a:hover { color: var(--teal); }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(41,171,226,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background:
    linear-gradient(135deg, rgba(45,45,45,0.90) 0%, rgba(45,45,45,0.85) 100%),
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 580px; font-size: 1.05rem; }

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  border-radius: 16px;
  height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}
.value-emoji { font-size: 1.5rem; margin-bottom: .5rem; }
.value-item strong { font-size: .85rem; color: var(--navy); display: block; }

/* --- Diensten Page --- */
.dienst-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.dienst-block:last-child { border-bottom: none; }
.dienst-block.reversed { direction: rtl; }
.dienst-block.reversed > * { direction: ltr; }
.dienst-visual {
  border-radius: 16px;
  height: 320px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dienst-features { list-style: none; margin: 1.25rem 0; }
.dienst-features li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem 0;
  font-size: .95rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.dienst-features li:last-child { border-bottom: none; }
.dienst-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Article Page --- */
.article-header { max-width: 760px; margin: 0 auto; }
.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-body h2 { margin: 2rem 0 .85rem; font-size: 1.5rem; }
.article-body h3 { margin: 1.75rem 0 .65rem; }
.article-body p { margin-bottom: 1.25rem; }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; max-width: 320px; margin-top: .75rem; color: rgba(255,255,255,.65); }
.site-footer p { color: rgba(255,255,255,.65); }
.footer-bottom { color: rgba(255,255,255,.45); }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-linkedin {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
}
.footer-linkedin:hover { color: var(--teal); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .contact-grid,
  .about-grid,
  .dienst-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .dienst-block.reversed { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    gap: .25rem;
    z-index: 99;
  }
  .nav-links.open + .nav-cta { display: block; padding: 0 1.5rem 1.25rem; }
  .hero { padding: 70px 0 56px; }
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .section { padding: 56px 0; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: rgba(255,255,255,.9);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,.18);
  transform: translateY(0);
  transition: transform .35s ease;
}
#cookie-banner.hidden {
  transform: translateY(110%);
}
#cookie-banner p {
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 220px;
}
#cookie-banner a {
  color: var(--teal-light);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 6px;
  padding: .6rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--teal-light); }
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
  padding: .6rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.cookie-btn-decline:hover {
  background: rgba(255,255,255,.1);
  color: white;
}
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}
