/* ===============================
   ÖlKraft Solutions Professional Corporate CSS
   =============================== */
/* 1. 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, 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  background: #F8FAFC;
  font-family: 'Roboto', Arial, sans-serif;
  color: #173042;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* Fonts for headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  color: #173042;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.05rem; }
}

p, ul, ol {
  margin-bottom: 16px;
}

strong { font-weight: 700; }

/* Hyperlinks */
a {
  color: #173042; text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #DD9F27;
  outline: none;
}

/*  ============================== */
/* 2. Container & Layout           */
/*  ============================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* Sections and Spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(23,48,66,0.07);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}

/*************** Feature Grids ******************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-grid > div {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F3F6FA;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 1px 8px 0 rgba(23,48,66,0.03);
  min-width: 200px;
  max-width: 330px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 20px 0 rgba(23,48,66,0.13);
}
.feature-grid img {
  width: 44px; height: 44px; margin-bottom: 12px;
}

/*************** Card Styles ********************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(23,48,66,0.11);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 16px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(23,48,66,0.16);
}

/************ Content Flexible Grids ************/
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/*********** Testimonials **********************/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F3F6FA;
  border-left: 6px solid #DD9F27;
  border-radius: 10px;
  color: #173042;
  margin-top: 28px;
  box-shadow: 0 1px 8px 0 rgba(23,48,66,0.05);
}
.testimonial-card p {
  margin: 0;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1rem;
  font-style: normal;
  color: #173042;
}

/******** Content Hierarchy and List ***********/
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/******** Feature Item Pattern *****************/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/********* Contact Details Block **************/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  font-size: 1rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
}

/********** Map Placeholder *******************/
.map-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  background: #E4EAF1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder img {
  width: 46px;
  height: 46px;
}

/**************** Buttons *********************/
.btn-primary,
a.btn-primary {
  background: #173042;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  margin-top: 12px;
  display: inline-block;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(23,48,66,0.04);
  transition: background 0.18s, color 0.17s, box-shadow 0.15s;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus,
a.btn-primary:hover, a.btn-primary:focus {
  background: #DD9F27;
  color: #173042;
  box-shadow: 0 4px 18px rgba(23,48,66,0.13);
}

/***************** Header *********************/
header {
  background: #173042;
  color: #fff;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 20px;
}
header a img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 400;
  transition: color 0.25s;
  position: relative;
  padding: 0 6px;
  line-height: 48px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #DD9F27;
}
.main-nav .btn-primary {
  margin: 0 0 0 10px;
  background: #DD9F27;
  color: #173042;
  box-shadow: 0 2px 6px rgba(221,159,39,0.13);
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary:focus {
  background: #fff;
  color: #173042;
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 16px;
  z-index: 1500;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { color: #DD9F27; }

/* Mobile nav overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,48,66,0.97);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(0.45,0.16,0.45,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 22px 32px 8px 0;
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #DD9F27; }

.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0 46px;
}
.mobile-nav a {
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.23rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.17s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #DD9F27;
  background: rgba(221,159,39,0.06);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  header .container {
    padding: 0 6px;
  }
  .mobile-nav {
    padding: 0 16px;
  }
}

/**********************************/
/*     FOOTER                     */
/**********************************/
footer {
  background: #173042;
  color: #fff;
  padding: 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 32px 20px 8px 20px;
  gap: 0;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a img {
  height: 38px; width: auto;
  opacity: 0.97;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 2px 0;
}
.footer-nav a:hover { color: #DD9F27; }
.footer-contact {
  font-size: 0.97rem;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}
.footer-social a {
  display: inline-flex; align-items: center;
  transition: opacity 0.19s;
}
.footer-social a:hover { opacity: 0.68; }
.footer-social img {
  width: 28px; height: 28px;
}
.footer-copyright {
  width: 100%;
  font-size: 0.93rem;
  color: #bcc5ce;
  margin-top: 18px;
  text-align: left;
}

@media (max-width: 1024px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    padding: 18px 6px 6px 6px;
  }
  footer .content-wrapper {
    gap: 14px;
  }
  .footer-copyright { text-align: center; }
}

/**********************************/
/*     Responsive Adjustments      */
/**********************************/
@media (max-width: 1024px) {
  .feature-grid {
    gap: 20px;
  }
  .card-container, .content-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card, .feature-item {
    padding: 14px;
    gap: 10px;
    font-size: 1rem;
  }
}

/**********************************/
/*     Misc Responsive Patterns     */
/**********************************/
@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .btn-primary, a.btn-primary { padding: 10px 14px; font-size: 1rem; }
}

/**********************************/
/*     Cookie Consent Banner/Modal */
/**********************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #173042;
  color: #fff;
  box-shadow: 0 -2px 24px rgba(23,48,66,0.13);
  z-index: 9999;
  padding: 20px 32px 20px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  animation: cookieSlideUp 0.5s cubic-bezier(.25,.7,.45,1) 1;
}
@keyframes cookieSlideUp {
  0% { opacity: 0; transform: translateY(48px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 0;
  flex: 2 1 200px;
  font-size: 1.05rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: #173042;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.15s;
  min-width: 120px;
  box-shadow: 0 1px 6px 0 rgba(23,48,66,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #DD9F27;
  color: #173042;
}
.cookie-btn.reject {
  background: #BCC5CE;
  color: #173042;
}
.cookie-btn.reject:hover { background: #DD9F27; color: #173042; }
.cookie-btn.settings {
  background: #DD9F27;
  color: #173042;
}
.cookie-btn.settings:hover { background: #fff; color: #173042; }

@media (max-width: 670px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 14px 4px; }
  .cookie-banner-buttons { width: 100%; flex-wrap: wrap; }
}

/***** Cookie Modal Popup ******/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,48,66,0.65);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #173042;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(23,48,66,0.14);
  padding: 36px 24px 22px 24px;
  max-width: 450px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.34s cubic-bezier(.29,.71,.4,1.21);
}
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(64px); }
 100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 { font-size: 1.22rem; color: #173042; margin-bottom: 8px; }
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.cookie-modal-label {
  flex-grow: 1; font-size: 1rem;
}
.cookie-modal-toggle {
  width: 36px; height: 20px;
  border-radius: 12px;
  background: #BCC5CE;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal-toggle.checked { background: #DD9F27; }
.cookie-modal-toggle::after {
  content: '';
  display: block;
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23,48,66,0.1);
  transition: left 0.18s;
}
.cookie-modal-toggle.checked::after {
  left: 19px; /* 36-14-3=19 */
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-actions .cookie-btn { min-width: 100px; }

/***********************************/
/*     Utility & Accessibility     */
/***********************************/
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.subheadline {
  font-size: 1.28rem;
  color: #3c5262;
  margin-bottom: 8px;
}

hr {
  border: none;
  border-top: 1px solid #BCC5CE;
  margin: 32px 0;
}

/***********************************/
/* REMAINING CONSISTENCY RULES     */
/***********************************/
/* Minimum 20px vertical spacing between content cards/sections */
.section + .section { margin-top: 0; }
.card + .card, .content-wrapper > * + * { margin-top: 20px; }

/* Hide main content under overlay when menu open */
body.mobile-menu-open {
  overflow: hidden;
  position: relative;
}

/***********************************/
/*  PRINT STYLES (Optional)        */
/***********************************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
