/* ====================================================== */
/*                 CSS RESET & NORMALIZE                  */
/* ====================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
}
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #191919;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

/* ========================================== */
/*          BRAND PALETTE VARIABLES           */
/* ========================================== */
:root {
  --primary: #191919;             /* strong black for text */
  --primary-dark: #141414;        /* deeper black for header/footer */
  --secondary: #fafbfc;           /* softest gray for main bg */
  --brand-blue: #274472;          /* Shimmering Path brand blue */
  --accent: #EDA943;              /* accent gold */
  --surface: #fff;                /* pure white card bg */
  --surface-alt: #f3f6fb;         /* lightest gray */
  --divider: #ededed;             /* light divider lines */
  --shadow: 0 4px 28px 0 rgba(25, 25, 25, 0.06);
  --radius: 14px;
}

/* ========================================== */
/*               TYPOGRAPHY                   */
/* ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.13rem;
}
.subheadline, .section .subheadline {
  color: #5a5a5a;
  font-size: 1.12rem;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* Spacing utility for content paragraphs */
.text-section p {
  margin-bottom: 18px;
}

/* Typography scaling for mobile/desktop */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}

/* ========================================== */
/*                  LAYOUT                   */
/* ========================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-top: 0;
  margin-bottom: 0;
}

.text-section {
  max-width: 720px;
}

.card-container, .feature-grid, .testimonial-slider, .testimonial-list, .blog-list, .service-list, .value-list, .usp-highlights, .contact-details, .category-tags, .about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
  transition: box-shadow 0.2s, transform 0.22s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(25,25,25,0.13);
  transform: translateY(-1px) scale(1.012);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fafbfc;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  box-shadow: 0 2px 9px rgba(30,30,30,0.045);
  margin-right: 0;
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 280px;
  max-width: 340px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #232323;
  font-style: italic;
  margin-bottom: 10px;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #595959;
  font-size: 0.96rem;
  font-weight: 500;
  align-self: flex-end;
}

/* ========================================== */
/*                 HEADER NAV                 */
/* ========================================== */
header {
  background: var(--primary-dark);
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 10px 0 rgba(20,20,20,0.06);
  z-index: 130;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 74px;
  position: relative;
}
header img {
  height: 42px;
  margin-right: 16px;
  filter: grayscale(1) brightness(1.04);
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: 8px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border 0.18s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 12px 32px;
  box-shadow: 0 2px 4px 0 rgba(25,25,25,0.11);
  border: none;
  margin-left: auto;
  margin-right: 0;
  white-space: nowrap;
  outline: none;
  position: relative;
  cursor: pointer;
  transition: background 0.22s, color 0.15s, transform 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-blue);
  color: var(--accent);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 24px 0 rgba(25,25,25,0.16);
}

.mobile-menu-toggle {
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  color: #fff;
  margin-left: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1051;
  transition: color 0.2s, background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
}

/* ========================================== */
/*                MOBILE MENU                 */
/* ========================================== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #121212EE;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.27s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 32px 0 0 24px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.15s, background 0.16s;
  z-index: 3001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.09);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.38rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color 0.21s;
  padding: 2px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 10px;
  }
}

/* ========================================== */
/*                FOOTER STYLES               */
/* ========================================== */
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 44px 0 24px;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #e6e6e6;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.86;
  font-weight: 500;
  transition: color 0.16s, opacity 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  opacity: 1;
}
.footer-contact {
  color: #edf0f4;
  font-size: 1rem;
  opacity: 0.67;
}

/* ========================================== */
/*           PAGE-SPECIFIC LISTS              */
/* ========================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.feature-grid ul,
.feature-grid ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.feature-grid li,
.service-list li,
.value-list li,
.usp-highlights li,
.blog-list li,
.contact-details li {
  background: var(--surface-alt);
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(28,28,28,0.03);
  padding: 19px 20px 15px 21px;
  font-size: 1.045rem;
  color: #252525;
  margin-bottom: 0px;
  min-width: 210px;
  max-width: 350px;
  flex: 1 1 220px;
  line-height: 1.57;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #ececec;
  transition: box-shadow 0.15s, transform 0.14s;
}
.feature-grid li:hover, .service-list li:hover, .value-list li:hover, .usp-highlights li:hover {
  box-shadow: 0 2px 14px 0 rgba(40,40,40,0.11);
  z-index: 2;
  transform: translateY(-2px) scale(1.013);
}
.feature-grid li strong, .service-list li strong {
  color: var(--primary);
}
.feature-grid img, .service-list img, .value-list img, .contact-details img {
  height: 32px;
  width: 32px;
  margin-bottom: 6px;
  opacity: 0.94;
}
.value-list {
  gap: 18px;
}
.usp-highlights {
  gap: 18px;
  margin-top: 14px;
  font-size: 1.045rem;
}
.contact-details {
  gap: 18px;
  margin-bottom: 18px;
}
.contact-details a {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.16s;
}
.contact-details a:hover {
  color: var(--accent);
}
.category-tags {
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.category-tags span {
  background: #ededed;
  color: #171717;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 12px;
  opacity: 0.82;
  margin-right: 0;
}

/* ========================================= */
/*           BLOG LIST ITEMS                 */
/* ========================================= */
.blog-list ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-list li a {
  color: var(--brand-blue);
  font-weight: 600;
  transition: color 0.15s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.blog-list li a:hover {
  color: var(--accent);
}

/* ========================================= */
/*          TESTIMONIAL SLIDERS/CARDS        */
/* ========================================= */
.testimonial-slider, .testimonial-list {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Ensure text contrast in testimonials/reviews (always dark on light BG) */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #202020;
  background: #fafbfc;
}

/* ========================================== */
/*             BUTTONS (GENERIC)              */
/* ========================================== */
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--divider);
  border-radius: 100px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 10px 26px;
  box-shadow: 0 1px 2px 0 rgba(25,25,25,0.11);
  margin-right: 18px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================== */
/*            RESPONSIVE BREAKPOINTS              */
/* ============================================== */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .feature-grid li,
  .service-list li,
  .value-list li,
  .usp-highlights li {
    min-width: 150px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 27px 7px;
    margin-bottom: 32px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid, .service-list, .testimonial-slider, .testimonial-list, .blog-list, .value-list, .usp-highlights, .contact-details {
    flex-direction: column;
    gap: 15px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 97vw;
    padding-left: 13px;
    padding-right: 13px;
  }
  header .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 500px) {
  .container {
    max-width: 100vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .main-nav {
    gap: 11px;
  }
  .section {
    padding-left: 2vw;
    padding-right: 2vw;
    margin-bottom: 22px;
  }
}

/* ========================================== */
/*            MICRO-INTERACTIONS              */
/* ========================================== */
a, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: color 0.16s, background 0.18s, box-shadow 0.17s, border 0.17s, opacity 0.15s;
}

/* ========================================== */
/*              COOKIE CONSENT                */
/* ========================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 8000;
  background: #141414f0;
  color: #f6f6f6;
  box-shadow: 0 -3px 28px 0 rgba(24,24,24,.19);
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  font-size: 1rem;
  animation: cookie-slide-in 0.5s cubic-bezier(.52,1.6,.29,.9);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(120%); opacity: 0; }
  90% { transform: translateY(-18px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 290px;
  color: #f6f6f6;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cookie-banner .cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  padding: 11px 22px;
  margin: 0;
  transition: background 0.18s, color 0.16s;
  cursor: pointer;
}
.cookie-accept {
  background: var(--brand-blue);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--accent);
  color: #232323;
}
.cookie-reject {
  background: #fff;
  color: #171717;
  border: 1px solid #ededed;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--brand-blue);
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: #f6f6f6;
  border: 1px solid #888;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #2b2b2b;
  color: var(--accent);
}
@media(max-width: 610px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 21px 12px 14px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: #191919b7;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.48,.47,.39,1.15);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 8px 34px 0 rgba(29,29,29,0.13);
  min-width: 280px;
  max-width: 96vw;
  width: 380px;
  padding: 28px 25px 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-popup-in 0.42s cubic-bezier(.72,.02,.16,1.12);
  z-index: 10005;
}
@keyframes cookie-popup-in {
  0% { transform: scale(.87) translateY(55px); opacity: 0; }
  60% { transform: scale(1.04) translateY(-10px);}
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
}
.cookie-category label {
  flex: 1 1 auto;
  font-weight: 500;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #ededed;
  border-radius: 33px;
  margin-left: 5px;
  position: relative;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 18px;
  height: 18px;
  background: #bdbdbd;
  border-radius: 50%;
  transition: left 0.13s, background 0.17s;
}
.cookie-toggle input:checked + span {
  left: 22px;
  background: var(--brand-blue);
}
/* Essential cookies always enabled */
.cookie-category.essential label::after {
  content: "(notwendig)";
  color: #999;
  font-size: 0.98rem;
  font-weight: 400;
  margin-left: 0.66em;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 6px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  padding: 9px 20px;
  border-radius: 100px;
  border: none;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  outline: none;
  margin-top: 3px;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--accent);
  color: #141414;
}
.cookie-modal .modal-close {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #ededed;
}
.cookie-modal .modal-close:hover {
  background: #eee;
  color: var(--brand-blue);
}

@media(max-width:470px){
  .cookie-modal {
    width: 99vw;
    min-width: unset;
    padding: 17px 5vw 14px 5vw;
  }
}

/* ========================================== */
/*              MISC/ACCESSIBILITY            */
/* ========================================== */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0.12em;
}
::-webkit-input-placeholder { color: #b1b1b1; opactiy: 1; }
::-moz-placeholder { color: #b1b1b1; }
:-ms-input-placeholder { color: #b1b1b1; }
::placeholder { color: #b1b1b1; }

/* Hide scrollbars for mobile menu */
.mobile-menu, .mobile-menu nav {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* ========================================== */
/*                PRINT FIX                   */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {display:none !important;}
  body { background: #fff !important; }
}
