/* ====================
   CRISP NATURBAU – INDUSTRIAL MODERN STYLE
   style.css | Responsive, Flexbox-based, Industrial Modern
   All required classes & mandatory layout rules implemented
========================*/

/* --------------------
   CSS RESET & NORMALIZE
-----------------------*/
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #202324;
  color: #ECECEC;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #E4B867;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2F7F1;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
li { margin-bottom: 0.5em; }
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.15;
  color: #F2F7F1;
}
h1 { font-size: 2.75rem; margin-bottom: 16px; font-weight: 800; letter-spacing: -1.2px; }
h2 { font-size: 2rem; margin-bottom: 14px; font-weight: 700; }
h3 { font-size: 1.35rem; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 500; }
.subheadline {
  font-size: 1.2rem;
  color: #E4B867;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 22px;
  font-weight: 500;
}
strong { color: #F2F7F1; font-weight: 600; }

/* ---------------------------
   BRAND COLORS & FLEX UTILITIES
------------------------------*/
:root {
  --c-primary: #25613B;
  --c-secondary: #F2F7F1;
  --c-accent: #E4B867;
  --c-dark-bg: #202324;
  --c-mid-dark: #35373B;
  --c-metal: #8C8E91;
  --c-bg-card: #23282B;
  --c-footer: #17191B;
  --c-cta-hover: #374e3b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* overridden in card/flex containers as needed */
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 830px;
}

/* ---------------------
   HEADER & NAVIGATION
----------------------*/
header {
  background: var(--c-dark-bg);
  border-bottom: 2px solid #35373B;
  box-shadow: 0 2px 8px rgba(36,37,39,0.09);
  z-index: 25;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 80px;
}
.brand img {
  height: 46px;
  width: auto;
  filter: none;
  transition: filter 0.2s;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--c-secondary);
  letter-spacing: 0.05em;
  padding: 10px 0 10px 0;
  position: relative;
  font-size: 1rem;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
}
.main-nav a.cta {
  background: var(--c-accent);
  color: #23282B;
  border-radius: 6px;
  padding: 10px 22px;
  margin-left: 10px;
  font-weight: 700;
  border-bottom: none;
  box-shadow: 0 2px 8px 0 rgba(228,184,103,0.13);
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #FFD690;
  color: #23282B;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2px solid var(--c-accent);
  color: var(--c-accent);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-accent);
  font-size: 2em;
  cursor: pointer;
  margin-left: 24px;
  transition: color 0.18s;
  z-index: 9991;
  padding: 5px 10px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--c-accent);
}

/* ---------------------
   MOBILE MENU OVERLAY
----------------------*/
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #202324ee;
  z-index: 9993;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.62,.06,.39,.97);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--c-accent);
  font-size: 2.1em;
  margin: 20px auto 12px 20px;
  cursor: pointer;
  z-index: 9994;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--c-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
  margin-left: 32px;
  width: 80vw;
}
.mobile-nav a {
  color: var(--c-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.16s, background 0.18s;
  padding: 12px 0;
}
.mobile-nav a.cta {
  color: #23282B;
  background: var(--c-accent);
  padding: 12px 38px 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 18px;
  box-shadow: 0 2px 12px 0 rgba(228,184,103,0.11);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--c-accent);
  background: #23282B22;
  outline: none;
}

/* --------------
   HERO SECTIONS
---------------*/
.hero {
  width: 100%;
  background: linear-gradient(93deg, #202324 80%, #23282B 100%);
  box-shadow: 0 6px 64px 0 rgba(40,43,42,0.11);
  padding-top: 30px;
  padding-bottom: 40px;
  position: relative;
}
.hero .container {
  min-height: 320px;
  align-items: flex-start;
  justify-content: center;
  display: flex;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
  max-width: 750px;
}
.hero h1 {
  color: var(--c-accent);
  text-shadow: 1px 2px 10px #18181844;
}
.hero p {
  font-size: 1.11rem;
  color: #CAD0CB;
}

/* ----------------------
   BUTTONS & CTA STYLES
-----------------------*/
.cta, .content-wrapper a.cta, .mobile-nav a.cta {
  background: var(--c-accent);
  color: #23282B;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.05em;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(228,184,103,0.12);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: #FFD690;
  color: #111;
  box-shadow: 0 4px 18px 0 rgba(228,184,103,0.17);
  transform: translateY(-2px) scale(1.04);
}

/* ----------------------------
   FLEXBOX LAYOUT PATTERNS (MANDATORY)
-----------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--c-bg-card);
  border: 1.5px solid #323637;
  border-radius: 13px;
  box-shadow: 0 5px 22px 0 rgba(48,53,56,0.13);
  overflow: hidden;
  flex: 1 1 320px;
  min-width: 280px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 18px 28px 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--c-secondary);
  color: #23282B;
  border-radius: 12px;
  box-shadow: 0 4px 16px 0 rgba(228,184,103, 0.09),0 1px 1.5px 0 #1112;
  margin-bottom: 22px;
  border-left: 5px solid var(--c-accent);
  min-width: 260px;
  min-height: 100px;
  font-size: 1.12rem;
  position: relative;
}
.testimonial-card .testimonial-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.01em;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature-grid > div {
  background: var(--c-bg-card);
  padding: 20px 20px 22px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 14px 0 rgba(46,48,53,0.08);
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 5px solid var(--c-primary);
  transition: box-shadow 0.16s, border-color 0.18s;
}
.feature-grid > div:hover {
  border-left: 5px solid var(--c-accent);
  box-shadow: 0 6px 20px 0 rgba(228,184,103,0.09);
}
.benefit-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10px;
  align-items: flex-start;
}
.benefit-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
}
.benefit-list li {
  display: flex; align-items: center; gap: 14px; font-size: 1.07rem;
}
.client-logo-list {
  display: flex;
  gap: 34px;
  margin-top: 30px;
  align-items: center;
}
.address-block {
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-accent);
}
.map-embed {
  background: var(--c-mid-dark);
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 #2226;
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  margin: 18px 0;
}

/* ---------------
   FOOTER SECTION
----------------*/
footer {
  background: var(--c-footer);
  color: var(--c-secondary);
  border-top: 2px solid #35373B;
  padding-top: 54px;
  padding-bottom: 38px;
  box-shadow: 0 -4px 24px 0 rgba(32,35,36,0.10);
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 13px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 114px;
}
.footer-nav a, .footer-legal a {
  color: #CAD0CB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--c-accent);
}
.footer-contact {
  font-size: 0.97rem;
  line-height: 1.23;
  color: #CAD0CB;
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.footer-contact img { height: 18px; width: 18px; vertical-align: middle; margin-right: 5px; opacity: 0.77; }
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.footer-social a img {
  height: 26px;
  filter: grayscale(80%) brightness(1.4);
  transition: filter 0.2s;
}
.footer-social a:hover img {
  filter: grayscale(15%) brightness(1.1) drop-shadow(0 2px 8px #E4B86733);
}

/* ------------
   GENERAL UI
-------------*/
.section ul, .section ol { margin-bottom: 12px; }
.section li { margin-bottom: 7px; }
::-webkit-scrollbar { width: 8px; background: #23282B; }
::-webkit-scrollbar-thumb { background: #35373B; border-radius: 8px; }

.trusted-by {
  margin-top: 14px;
  color: #B2B7AD;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ----------------
   ICON STYLING
-----------------*/
.feature-grid img, .benefit-list img, .contact-info img, .footer-contact img, .client-logo-list img {
  height: 38px;
  width: auto;
  filter: grayscale(40%) brightness(1.18) drop-shadow(0 2px 8px #2224);
  margin-bottom: 6px;
}
.benefit-list img, .contact-info img, .footer-contact img {
  height: 20px; margin-bottom: 0;
}
.client-logo-list img { height: 42px; }

/* --------------------
   CONTENT HELPERS
-----------------------*/
.content-wrapper > h1, .content-wrapper > h2, .content-wrapper > h3, .content-wrapper > h4 {
  margin-top: 8px;
  margin-bottom: 12px;
}
.content-wrapper > p, .content-wrapper > ul, .content-wrapper > ol {
  margin-bottom: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  font-size: 1.07rem;
}
.contact-info p { display: flex; align-items: center; gap: 10px; }
.contact-info img { margin: 0 7px 0 0; }

/* ----------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #23282B;
  color: #F2F7F1;
  border-top: 3px solid var(--c-accent);
  box-shadow: 0 -4px 28px 0 #23282bcc;
  padding: 16px 24px;
  z-index: 9996;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  transition: bottom 0.25s;
}
.cookie-consent-banner.hide {
  bottom: -120px;
  pointer-events: none;
  opacity: 0;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-consent-banner button,
.cookie-settings-modal button {
  background: var(--c-accent);
  color: #23282B;
  border: none;
  border-radius: 7px;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  cursor: pointer;
  margin: 0 5px;
  transition: background 0.14s, color 0.16s, box-shadow 0.15s, transform 0.14s;
  box-shadow: 0 2px 9px 0 #E4B86740;
}
.cookie-consent-banner button:hover,
.cookie-settings-modal button:hover {
  background: #FFD690;
  color: #1a1d1e;
  box-shadow: 0 3px 13px 0 #E4B86750;
  transform: translateY(-2px) scale(1.03);
}
.cookie-consent-banner button.cookie-settings {
  background: #35373B;
  color: #E4B867;
  border: 1px solid #E4B867;
  box-shadow: none;
}
.cookie-consent-banner button.cookie-settings:hover {
  background: #212427;
  color: #FFD690;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  left: 50%;
  bottom: 48px;
  width: 94vw;
  max-width: 370px;
  background: #2c312D;
  color: #E4B867;
  border-radius: 11px;
  box-shadow: 0 8px 42px 0 #000c;
  z-index: 9999;
  padding: 34px 28px 26px 28px;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  transition: opacity 0.25s, scale 0.22s;
}
.cookie-settings-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(1.06);
}
.cookie-settings-modal h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.cookie-settings-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 0;
  font-size: 1.02rem;
}
.cookie-settings-modal .cookie-toggle {
  accent-color: var(--c-accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cookie-settings-modal .actions {
  margin-top: 22px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

/* -----------
   MEDIA QUERIES
---------------*/
@media (max-width: 1024px) {
  .feature-grid { gap: 18px; }
  footer .container { gap: 18px; }
}
@media (max-width: 870px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .footer-brand, .footer-contact, .footer-social {
    margin-bottom: 13px;
  }
}
@media (max-width: 768px) {
  /* NAVIGATION */
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }

  /* HERO & LAYOUT */
  .hero .container { min-height: 220px; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 30px 7px; }
  .feature-grid, .card-container, .benefit-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid, .address-block, .client-logo-list {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card { min-width: 90vw; }
  .testimonial-card { flex-direction: column; gap: 8px; align-items: flex-start; }
  .text-image-section { flex-direction: column; gap: 24px; align-items: flex-start; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.13rem; }
  .section { padding: 20px 3vw; margin-bottom: 30px; }
  .footer-nav, .footer-legal { font-size: 0.96rem; }
  .cookie-consent-banner { font-size: 0.98rem; padding: 9px 7px; }
  .cookie-settings-modal { padding: 21px 9px 14px 9px; }
}

/* ----------------------
   MICRO-INTERACTIONS
--------------------------*/
.card, .feature-grid > div, .testimonial-card, .cta, button {
  transition: box-shadow 0.16s, border-color 0.18s, background 0.13s, color 0.13s, transform 0.13s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 10px 22px 0 rgba(46,48,53,0.13);
  z-index: 10;
  transform: translateY(-2px) scale(1.01);
  border-color: var(--c-accent);
}

/* ----------------------
   FOCUS & ACCESSIBILITY
------------------------*/
a:focus, button:focus, .cta:focus, .cookie-consent-banner button:focus, .cookie-settings-modal button:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* ----------------------
   PRINT OPTIMIZATION
------------------------*/
@media print {
  header, .mobile-menu, footer, .cookie-consent-banner, .cookie-settings-modal { display: none !important; }
  body { background: #fff; color: #23282B; }
}

/* ------ END ------*/
