/* =========================
   CurstSuper Dokumentenservice
   Professional Corporate CSS
   ========================= */

/* ========== CSS RESET ========== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F7FA;
  color: #222F3E;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: 1em;
}
a {
  color: #17426F;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #115186;
  outline: none;
}

/* ========== FONT IMPORT ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* ========== COLOR VARIABLES ========== */
:root {
  --primary: #17426F;
  --secondary: #8BB4DD;
  --accent: #F5F7FA;
  --dark: #222F3E;
  --gray: #5b6b7e;
  --surface: #fff;
  --border: #e2e6ea;
  --shadow: 0 2px 12px rgba(23,66,111,0.09);
  --radius: 10px;
  --transition: 0.2s cubic-bezier(.47,1.64,.41,.8);
}

/* ========== TYPOGRAPHY HIERARCHY ========== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5em;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5em;
}
p, .text-section p, ul, ol, address {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

blockquote {
  font-style: italic;
  color: var(--dark);
  background: #f1f6fb;
  padding: 16px 24px;
  border-left: 4px solid var(--secondary);
  margin: 0 0 12px 0;
}

/* ========== CONTAINERS, LAYOUT, SPACING ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(23,66,111,.13);
  border-color: var(--secondary);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
}
ul.feature-grid li {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 22px 24px 22px;
  transition: box-shadow 0.18s, border 0.12s;
}
ul.feature-grid li:hover, ul.feature-grid li:focus {
  box-shadow: 0 6px 28px 0 rgba(23,66,111,.13);
  border-color: var(--secondary);
}
ul.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 18px;
}
.trust-badges img {
  height: 36px;
  width: 36px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18em;
  margin-top: 16px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
  z-index: 50;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06em;
  letter-spacing: 0.01em;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: #fff;
}

.cta-btn {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06em;
  padding: 11px 30px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 1px 9px 0 rgba(23,66,111,0.10);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s, transform 0.13s, box-shadow 0.18s;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 22px 0 rgba(23,66,111,0.22);
}

/* ========== MOBILE NAVIGATION (BURGER MENU) ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 2rem;
  padding: 6px 18px 4px 18px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.13s;
  z-index: 102;
  line-height: .8;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(23, 66, 111, 0.97);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.45,1.6,.52,1);
  box-shadow: 0 4px 40px rgba(23,66,111,.16);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  margin: 25px 25px 15px 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1200;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding: 24px 30px 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28em;
  font-weight: 600;
  padding: 9px 9px 9px 0;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 992px) {
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 6px;
  }
}
@media (max-width: 828px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== HERO SECTION ========== */
.hero-section {
  background: linear-gradient(90deg, var(--accent) 80%, #eaf2fb 100%);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 48px;
  box-shadow: 0 1px 9px 0 rgba(23,66,111,0.09);
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero-section h1 {
  font-size: 2.7rem;
  color: var(--primary);
}
.hero-section p {
  font-size: 1.22rem;
  color: var(--gray);
  margin-bottom: 14px;
}
.hero-section .cta-btn {
  margin-top: 0.5em;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 38px;
    padding-bottom: 34px;
    margin-bottom: 28px;
  }
  .hero-section h1 {
    font-size: 1.7rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
}

@media (max-width: 540px) {
  .hero-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* ========== FEATURES, SERVICES, TESTIMONIALS, CONTACT ========== */
.about-section, .features-section, .services-section, .contact-section, .thankyou-section, .contact-details-section, .legal-section {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 0;
}

.testimonials-section {
  background: #eaf2fb;
  padding: 40px 0 32px 0;
  margin-bottom: 60px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 16px rgba(23,66,111,0.07);
  margin-bottom: 24px;
  border-left: 7px solid var(--secondary);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card blockquote {
  font-size: 1.08em;
  color: var(--dark);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}
.testimonial-card p {
  color: var(--gray);
  font-size: .96em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(23,66,111,0.14);
  border-left: 7px solid var(--primary);
}

.address-map {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
}
.address-map img {
  width: 24px;
  height: 24px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  border-top: 1px solid #15395a;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 23px 20px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #e3edf8;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 2px;
  border-radius: 3px;
  transition: color 0.14s, background 0.13s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: var(--secondary);
  background: rgba(255,255,255,.09);
}
.footer-logo img {
  height: 32px;
  width: auto;
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* ========== LEGAL SECTION STYLES ========== */
.legal-section {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 0 30px 0;
}
.legal-section h1, .legal-section h2 {
  color: var(--primary);
}
.legal-section .text-section a {
  color: var(--primary);
  text-decoration: underline;
}
.legal-section .text-section a:hover {
  color: var(--secondary);
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--dark);
  border-top: 1px solid var(--secondary);
  box-shadow: 0 -2px 18px rgba(23, 66, 111, 0.07);
  z-index: 3000;
  padding: 21px 24px 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1em;
  animation: cookie-slidein 0.42s cubic-bezier(.54,1.55,.69,1.02);
}
@keyframes cookie-slidein {
  from { transform: translateY(120%); opacity: 0.3; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 350px;
  font-size: 1em;
  color: var(--dark);
  margin-bottom: 0;
}
.cookie-banner-btns {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  border: none;
  padding: 7px 20px;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
  margin: 0;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .reject {
  background: #e7f1fc;
  color: var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #d4e6fa;
  color: #12406a;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: background 0.13s, color 0.13s, border 0.13s;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.93em;
  }
  .cookie-banner-btns {
    gap: 8px;
  }
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4010;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 66, 111, 0.52);
}
.cookie-modal-overlay.open {
  display: flex;
  align-items: flex-end;
}
.cookie-modal {
  width: 100vw;
  background: #fff;
  box-shadow: 0 -8px 38px rgba(23, 66, 111, .14);
  border-radius: 18px 18px 0 0;
  max-width: 432px;
  margin: 0 auto;
  animation: modal-slidein 0.36s cubic-bezier(.44,1.6,.71,1.02);
  padding: 32px 22px 22px 22px;
  position: relative;
}
@keyframes modal-slidein {
  from {
    transform: translateY(37vh);
    opacity: 0.7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-modal h2 {
  margin-bottom: 15px;
  font-size: 1.26em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.cookie-modal .cookie-categories {
  list-style: none;
  margin-left: 0;
  margin-bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f6fb;
}
.cookie-modal .cookie-category label {
  font-size: 1em;
  color: var(--gray);
  cursor: pointer;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
.cookie-modal .essential {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal button {
  background: var(--primary);
  color: #fff;
  padding: 9px 24px;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal button:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  color: var(--dark);
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .close:hover {
  color: var(--primary);
}

@media (max-width: 540px) {
  .cookie-modal {
    max-width: 99vw;
    padding: 16px 8px 16px 12px;
    font-size: .95em;
  }
}

/* ========== RESPONSIVE LAYOUTS ========== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 920px) {
  .card-container, ul.feature-grid {
    gap: 13px;
  }
}
@media (max-width: 800px) {
  .card-container, ul.feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .section, section,
  .about-section, .features-section, .services-section, .contact-section, .thankyou-section, .contact-details-section, .legal-section {
    padding: 25px 0;
    margin-bottom: 32px;
  }
  .card {
    padding: 23px 9px;
    min-width: 180px;
  }
  .testimonials-section {
    padding: 25px 0 13px 0;
  }
  .testimonial-card {
    padding: 14px 9px;
    font-size: 0.97em;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
}

/* Flex direction for text-image-section on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ========== ACCESSIBILITY STYLES (Focus Indicators) ========== */
a:focus, .cta-btn:focus, button:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 2px;
  background: #f0f8ff;
}

/* ========== FORM ELEMENTS ========== */
input, textarea, select {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 1em;
  background: #f9fbfd;
  margin-bottom: 16px;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
  background: #eaf2fb;
}

/* ========== MICRO-INTERACTIONS & TRANSITIONS ========== */
.card, .testimonial-card, .cta-btn, .main-nav a, .mobile-nav a, .footer-nav a, .cookie-banner button, .cookie-modal button {
  transition: box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition), transform 0.15s;
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, .container { color: #111; background: #fff; }
  a { color: #111; text-decoration: underline; }
  .section, section, .about-section, .features-section, .services-section, .contact-section, .thankyou-section, .contact-details-section, .legal-section {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
  }
}
