/* =======================================
   CSS RESET & NORMALIZE
   ======================================= */
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,
b, 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 {
  line-height: 1.15;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #21272B;
  color: #F7F7F7;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}
button {
  cursor: pointer;
}
*:focus {
  outline: 2px solid #8DD4C5;
  outline-offset: 1px;
}

/* =======================================
   BRAND COLOR VARIABLES (SCSS-LIKE FOR COMMENTING)
   ======================================= */
:root {
  --color-primary: #295670;
  --color-secondary: #8DD4C5;
  --color-accent: #F7F7F7;
  --color-bg-dark: #21272B;
  --color-bg-card: #262B31;
  --color-metal: #616E79;
  --color-border: #353C41;
  --color-shadow: rgba(35,45,52,.25);
  --color-success: #8DD4C5;
  --color-danger: #e8442b;
}

/* =======================================
   TYPOGRAPHY
   ======================================= */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 600;
}
p, li {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 1em;
  line-height: 1.6;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* =======================================
   CONTAINER & WRAPPER
   ======================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =======================================
   HEADER & NAVIGATION
   ======================================= */
header {
  background: #20252A;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  min-height: 74px;
  background: none;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 12;
}
.main-nav > a {
  display: flex;
  align-items: center;
  padding: 0 6px;
  height: 60px;
  font-size: 1rem;
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s;
  margin-right: 8px;
}
.main-nav > a.cta-button {
  margin-left: auto;
  margin-right: 0;
  background: var(--color-secondary);
  color: #21272B;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 6px;
  box-shadow: 0 4px 16px var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
.main-nav > a:hover:not(.cta-button), .main-nav > a:focus:not(.cta-button) {
  color: var(--color-secondary);
}
.main-nav > a.cta-button:hover, .main-nav > a.cta-button:focus {
  background: #6ec3ae;
  color: #11181e;
  box-shadow: 0 2px 12px 0 rgba(35,55,59,0.09);
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 16px;
}

/* Hamburger menu (mobile only - will be hidden by default on desktop) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-metal);
  color: var(--color-accent);
  border: none;
  border-radius: 4px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  position: absolute;
  right: 20px;
  top: 12px;
  z-index: 30;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #21272B;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(33,39,43, 0.98);
  z-index: 400;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.67,-0.16,.32,1.19);
  box-shadow: 2px 0 32px var(--color-shadow);
  padding-top: 32px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: var(--color-accent);
  margin: 0 24px 12px 0;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #21272B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 0 32px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-accent);
  padding: 18px 2px 10px 0;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  background: none;
  transition: color 0.18s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}

@media (max-width: 1020px) {
  .main-nav > a:not(:first-child):not(.cta-button) {
    display: none;
  }
  .main-nav > a.cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =======================================
   SECTION, FLEX & SPACING
   MANDATORY SPACING & ALIGNMENT
   ======================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-bg-card);
  border-radius: 9px;
  box-shadow: 0 4px 16px var(--color-shadow);
  position: relative;
  transition: box-shadow 0.18s transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(43,67,92,0.19), 0 1.5px 7px 0 rgba(45,65,71,0.10);
  transform: translateY(-6px) scale(1.012);
  z-index: 6;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F7F7;
  color: #1b2227;
  border-radius: 7px;
  box-shadow: 0 3px 16px 0 rgba(39,54,75,0.09);
  margin-bottom: 28px;
  border-left: 6px solid var(--color-secondary);
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: #1b2227;
}
.testimonial-meta span {
  color: #2c5e6b;
  font-size: 1.15em;
  margin-right: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Features grid/cards */
.features .feature-grid, .benefits .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature, .benefit {
  background: var(--color-bg-card);
  border-radius: 8px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 24px 22px;
  min-width: 250px;
  flex: 1 1 255px; /* grows, min size, shrinks */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.21s, transform 0.14s;
}
.feature img, .benefit img {
  max-height: 36px;
  width: auto;
  filter: grayscale(60%) contrast(1.15);
  opacity: 0.82;
  margin-bottom: 6px;
}
.feature:hover, .benefit:hover {
  box-shadow: 0 4px 22px 0 rgba(56,95,136,0.13);
  transform: translateY(-2.5px) scale(1.012);
  border-color: var(--color-secondary);
}

/* About Team/Company lists */
.usps, .team-values, .certifications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
  padding: 0px 0 0 0;
}
.certifications-list img {
  margin-right: 10px;
  vertical-align: middle;
  filter: grayscale(70%) contrast(1.1) brightness(0.92);
}
.certifications-list li {
  display: flex;
  align-items: center;
  color: var(--color-accent);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
}

/* =======================================
   HERO SECTION & CTA
   ======================================= */
.hero {
  display: flex;
  align-items: center;
  background: linear-gradient(92deg, #22282d 75%, #2b4150 100%);
  min-height: 280px;
  border-bottom: 2px solid #353C41;
  margin-bottom: 60px;
}
.hero h1, .hero p {
  color: var(--color-accent);
}
.hero .cta-button {
  margin-top: 18px;
}
.cta {
  background: linear-gradient(89deg, #25313a 80%, #283b46 100%);
  padding: 52px 20px;
  margin-bottom: 0;
}
.cta h2 {
  color: var(--color-accent);
}

/* =======================================
   CTA BUTTONS
   ======================================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #21272B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 6px;
  padding: 13px 32px;
  font-size: 1.13rem;
  box-shadow: 0 6px 25px 0 rgba(70,109,120,0.12);
  border: none;
  margin-top: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.16s, transform 0.12s;
}
.cta-button:hover, .cta-button:focus {
  background: #66baa4;
  color: #162127;
  box-shadow: 0 7px 28px #36414542, 0 1.5px 9px #2c7d615a;
  transform: translateY(-1.5px) scale(1.02);
}


/* =======================================
   CARD, CASE STUDY, TESTIMONIAL CARDS
   ======================================= */
.project-description {
  background: var(--color-bg-card);
  border-left: 5px solid var(--color-primary);
  border-radius: 8px;
  padding: 24px 26px;
  box-shadow: 0 3px 14px 0 var(--color-shadow);
  margin-bottom: 28px;
}
.project-description h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
}
.case-studies .content-wrapper {
  gap: 18px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-bg-card);
  border-left: 4px solid var(--color-secondary);
  border-radius: 7px;
  padding: 20px 22px;
  box-shadow: 0 2px 13px 0 rgba(54,97,108,0.10);
  margin-bottom: 10px;
  font-size: 1rem;
}
.faq-item h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
}

/* =======================================
   FORM FIELDS (for future-proofing contact forms)
   ======================================= */
input, textarea, select {
  background: #23292D;
  color: var(--color-accent);
  border: 1.5px solid var(--color-border);
  padding: 11px 13px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  background: #232b2d;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 6px;
  display: block;
}

/* =======================================
   FOOTER
   ======================================= */
footer {
  background: #22292f;
  color: var(--color-accent);
  padding: 44px 0 30px 0;
  border-top: 2px solid var(--color-border);
  margin-top: 80px;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1rem;
}
.footer-nav a {
  color: #b6c5ce;
  font-weight: 400;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #e0e5e9;
  font-size: 1rem;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 7px;
  height: 17px;
  width: auto;
  filter: grayscale(100%) brightness(1.1);
  opacity: 0.75;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-social a img {
  height: 22px;
  filter: grayscale(75%) contrast(1.14);
  opacity: 0.74;
  transition: filter 0.18s, opacity 0.12s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0) brightness(1.16);
  opacity: 1;
}
.footer-impressum {
  text-align: center;
  font-size: 0.9em;
  color: #b8bfc5;
  margin-top: 12px;
}

/* =======================================
   COOKIE CONSENT BANNER + MODAL
   ======================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #222a2e;
  color: #F7F7F7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 -2px 24px #151d22cc;
  z-index: 9999;
  padding: 26px 18px 20px 18px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.35s cubic-bezier(.68,-0.3,.32,1.18);
  gap: 15px;
  min-height: 90px;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  font-size: 1.02rem;
  color: #F7F7F7;
  margin-bottom: 0px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 3px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 19px;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.17s;
  margin-right: 0;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #222;
  margin-right: 0;
}
.cookie-banner .reject {
  background: #2e4552;
  color: var(--color-accent);
}
.cookie-banner .settings {
  background: none;
  color: var(--color-secondary);
  border: 1.2px solid var(--color-secondary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #61beaa;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #23343a;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-secondary);
  color: #222;
}

/* Cookie settings modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,39,45,0.92);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .modal-content {
  background: var(--color-bg-card);
  color: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 5px 36px #000c173c;
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 270px;
  max-width: 92vw;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  color: var(--color-secondary);
  font-size: 1.19em;
}
.cookie-modal fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-secondary);
  border-radius: 3px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 11px;
  width: 100%;
  margin-top: 9px;
}
.cookie-modal .modal-actions button {
  border-radius: 4px;
  padding: 8px 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal .save-cookies {
  background: var(--color-secondary);
  color: #1d252b;
}
.cookie-modal .close-modal {
  background: #293044;
  color: #dbe9de;
}
.cookie-modal .save-cookies:hover, .cookie-modal .save-cookies:focus {
  background: #5fd4b6;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #1a232a;
  color: #fff;
}

/* =======================================
   RESPONSIVE / FLEX LAYOUT ADJUSTMENTS
   ======================================= */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .features .feature-grid, .benefits .benefit-grid, .content-grid {
    gap: 16px;
  }
  .feature, .benefit {
    min-width: 210px;
    padding: 20px 12px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 14px;
  }
  .section, .cta, .hero {
    padding: 28px 8px !important;
    margin-bottom: 35px !important;
  }
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .features .feature-grid, .benefits .benefit-grid, .content-grid {
    gap: 11px;
  }
  .feature, .benefit {
    min-width: 100%;
    width: 100%;
    padding: 15px 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    padding: 16px 7px;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
  .footer-social {
    gap: 14px;
  }
  .main-nav img {
    height: 27px;
    margin-right: 6px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .feature-grid {
    flex-direction: column;
    gap: 19px;
  }
  .main-nav {
    min-height: 58px;
    gap: 4px;
    padding: 0 6px;
  }
  .main-nav > a {
    font-size: 0.96rem;
    padding: 0 2px;
    height: 41px;
    margin-right: 2px;
  }
  .cookie-banner {
    padding: 18px 4vw 12px 4vw;
  }
}
@media (max-width: 550px) {
  .container {
    max-width: 99vw;
  }
  .feature, .benefit, .project-description, .faq-item {
    padding: 11px 6px;
    min-width: 97vw;
  }
  .card-container {
    gap: 10px;
  }
  .section {
    margin-bottom: 26px;
    padding: 12px 3vw;
  }
  .footer-contact, .footer-nav, .footer-social {
    gap: 4px;
  }
}

/* === SCROLLBAR Styling for a modern industrial look === */
html {
  scrollbar-color: #384551 #22272B;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 9px;
  background: #22272B;
}
::-webkit-scrollbar-thumb {
  background: #384551;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:active {
  background: #2B3136;
}

/* =======================================
   INDUSTRIAL MODERN EFFECTS
   ======================================= */
.card, .feature, .benefit, .project-description, .faq-item {
  box-shadow: 0 3px 18px 0 rgba(32,40,45,0.13), 0 1.6px 8px 0 rgba(22,30,39,0.10);
  border: 1px solid #384551;
}

.section, .card, .feature, .benefit, .testimonial-card, .project-description, .faq-item {
  border-radius: 8px 8px 14px 14px;
}

hr {
  border: none;
  height: 2px;
  background: var(--color-border);
  margin: 20px 0;
}

/* Metallic effect: subtle metallic borders for major elements */
.card, .feature, .benefit, .project-description, .faq-item {
  border: 1.5px solid var(--color-metal);
  box-shadow: 0 1.5px 8.5px 0 var(--color-shadow);
}

/* =======================================
   TRANSITIONS / MICRO-INTERACTIONS
   ======================================= */
a, .cta-button, .main-nav > a, .feature, .benefit, .testimonial-card, .card {
  transition: box-shadow 0.19s, background 0.19s, color 0.14s, transform 0.14s;
}
.cta-button:active, .feature:active, .benefit:active {
  transform: scale(0.97);
}

/* =======================================
   Z-INDEX LAYERING
   ======================================= */
.mobile-menu { z-index: 400; }
.cookie-banner { z-index: 9999; }
.cookie-modal { z-index: 10000; }
.header { z-index: 12; }

/* =======================================
   ACCENT ELEMENTS
   ======================================= */
.feature h3, .benefit h3, .faq-item h3, .testimonial-meta strong {
  color: var(--color-secondary);
}
.section h2 {
  color: var(--color-primary);
}

/* =======================================
   MISC UTILS
   ======================================= */
.visually-hidden { position:absolute !important; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* End of Style Sheet */