/* 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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FAFAFA;
  color: #20405A;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}
a {
  color: #20405A;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #4F8F6F;
  text-decoration: underline;
  outline: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
}
button {
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #20405A;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(32,64,90,0.03);
}
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* FLEXBOX LAYOUTS (MANDATORY PATTERNS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32,64,90,0.06);
  padding: 28px 20px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px rgba(32,64,90,0.11);
  transform: translateY(-3px) scale(1.02);
}
.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: #F2F2F2;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(32,64,90,0.07);
  margin-bottom: 20px;
  color: #20405A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE & SERVICE GRIDS (for .feature-grid, .service-grid) */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-grid > div {
  flex: 1 1 220px;
  background: #FAFAFA;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
  padding: 28px 18px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 4px 18px rgba(32,64,90,0.10);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img, .service-grid img {
  margin-bottom: 12px;
  width: 32px;
  height: 32px;
}
.feature-grid h3, .service-grid h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #20405A;
  margin-bottom: 8px;
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #20405A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(32,64,90,0.08);
  letter-spacing: 0.02em;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  border: none;
  cursor: pointer;
  margin-top: 14px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #4F8F6F;
  color: #fff;
  box-shadow: 0 6px 24px rgba(79,143,111,0.18);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn.secondary {
  background: #4F8F6F;
  color: #fff;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #20405A;
}

/* HEADER NAVIGATION */
header {
  width: 100%;
  background: #FAFAFA;
  position: relative;
  box-shadow: 0 2px 12px rgba(32,64,90,0.03);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #20405A;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  padding: 6px 10px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #F2F2F2;
  color: #4F8F6F;
}
header img[alt="Spiumcelie Logistik"] {
  height: 42px;
  margin-right: 18px;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9030;
  background: #20405A;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  padding: 8px 14px;
  border: none;
  transition: background 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 8px rgba(32,64,90,0.16);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #4F8F6F;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F2F2F2;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 32px 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #20405A;
  color: #fff;
  font-size: 1.6rem;
  border: none;
  border-radius: 50%;
  align-self: flex-end;
  padding: 6px 16px;
  margin-bottom: 30px;
  transition: background 0.15s;
  z-index: 10000;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #4F8F6F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20405A;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 9px 0;
  border-radius: 4px;
  text-align: left;
  background: none;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3EBE4;
  color: #4F8F6F;
}

/* Hide nav on mobile, show burger */
@media (max-width: 980px) {
  header nav, header .cta-btn {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none!important;
  }
}

/* BREADCRUMBS (if needed) */
.breadcrumbs {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.975rem;
  color: #20405A;
  opacity: 0.85;
}
.breadcrumbs a {
  color: #4F8F6F;
}

/* FOOTER */
footer {
  background: #F2F2F2;
  color: #20405A;
  padding: 32px 0 0 0;
  border-top: 2px solid #E3EBE4;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer img[alt="Spiumcelie Logistik"],
footer img[alt="Spiumcelie Logistik"] {
  height: 36px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-right: 48px;
}
footer nav a {
  color: #20405A;
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 0;
  transition: color 0.2s, opacity 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #4F8F6F;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #20405A;
}
footer img[alt^="icon-"] {
  height: 18px;
  width: 18px;
}
@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer nav {
    margin: 0 0 22px 0;
  }
}

/* TEXTUAL SECTIONS & CARDS */
.text-section {
  margin-bottom: 18px;
}
.text-section h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #20405A;
  font-weight: 600;
}
.text-section ul,
.content-wrapper ul {
  padding-left: 16px;
  margin-bottom: 24px;
}
.text-section ul li {
  margin-bottom: 7px;
}
address {
  font-style: normal;
  margin-bottom: 12px;
}

/* QUOTES/TESTIMONIALS */
.testimonial-card p {
  font-size: 1.1rem;
  color: #20405A;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: #20405A;
  font-weight: 600;
}
.testimonial-card div {
  font-size: 1rem;
  color: #4F8F6F;
}

/* MODERN SHADOWS & VISUAL CUES */
.section, .card, .feature-grid > div, .service-grid > div, .testimonial-card {
  box-shadow: 0 2px 12px rgba(32,64,90,0.03);
}

/* UTILITIES */
.mt-32 { margin-top: 32px!important; }
.mb-24 { margin-bottom: 24px!important; }
.pt-16 { padding-top: 16px!important; }

/* RESPONSIVENESS */
@media (max-width: 960px) {
  .feature-grid, .service-grid {
    gap: 16px;
  }
  .feature-grid > div, .service-grid > div {
    min-width: 48%;
    max-width: 100%;
  }
  .container {
    padding-left: 8px; padding-right: 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .feature-grid, .service-grid {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid > div, .service-grid > div {
    min-width: 180px;
    margin-bottom: 0;
    max-width: 100%;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 40px;
  }
  .content-grid,
  .card-container { gap: 14px; }
  .card {
    padding: 20px 12px;
    margin-bottom: 14px;
    border-radius: 10px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 0.97rem; }
  .section {
    padding: 14px 0;
    margin-bottom: 20px;
  }
  .container {
    padding: 0 3vw;
  }
  .testimonials-card, .feature-grid > div, .service-grid > div {
    padding: 13px 6px;
  }
}
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #20405A;
  color: #fff;
  padding: 24px 16px;
  z-index: 12000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  box-shadow: 0 -2px 18px rgba(32,64,90,0.15);
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.7,0,0.3,1), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1.02rem;
  max-width: 380px;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1rem;
  background: #fff;
  color: #20405A;
  border: 2px solid #20405A;
  margin-left: 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.15s;
  box-shadow: 0 1px 5px rgba(32,64,90,0.08);
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: #4F8F6F;
  color: #fff;
  border-color: #4F8F6F;
}
.cookie-btn.secondary {
  background: #4F8F6F;
  color: #fff;
  border: 2px solid #4F8F6F;
}
.cookie-btn.secondary:focus,
.cookie-btn.secondary:hover {
  background: #20405A;
  border-color: #20405A;
  color: #fff;
}
@media (max-width: 560px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    padding: 16px 4vw;
  }
  .cookie-banner__text {
    max-width: 100%;
  }
  .cookie-banner__buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 13000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,64,90,0.28);
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(32,64,90,0.37);
  padding: 36px 24px 28px 24px;
  max-width: 95vw;
  min-width: 300px;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-modal-in 0.35s cubic-bezier(0.7,0,0.3,1);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(20px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 11px 0;
}
.cookie-modal label {
  font-size: 1rem;
  color: #20405A;
  font-weight: 500;
}
.cookie-modal-toggle {
  width: 38px;
  height: 22px;
  border-radius: 44px;
  background: #F2F2F2;
  position: relative;
  outline: none;
  margin-left: 10px;
  flex-shrink: 0;
}
.cookie-modal-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-slider {
  position: absolute;
  cursor: pointer;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: #F2F2F2;
  border-radius: 44px;
  transition: background-color 0.18s;
}
.cookie-modal-toggle input:checked + .cookie-modal-slider {
  background: #4F8F6F;
}
.cookie-modal-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 1px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 4px rgba(32,64,90,0.10);
}
.cookie-modal-toggle input:checked + .cookie-modal-slider:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-category.essential label {
  opacity: 0.6;
}
.cookie-modal .cookie-category.essential .cookie-modal-toggle {
  pointer-events: none;
  opacity: 0.5;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  min-width: 95px;
}

/* GENERAL FORMS, INPUTS */
input, textarea {
  border: 1.5px solid #E3EBE4;
  border-radius: 7px;
  padding: 9px 11px;
  background: #fff;
  color: #20405A;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: border 0.18s, box-shadow 0.13s;
}
input:focus, textarea:focus {
  border-color: #4F8F6F;
  outline: none;
  box-shadow: 0 2px 8px rgba(79,143,111,0.08);
}
label {
  font-size: 1rem;
  color: #20405A;
  margin-bottom: 7px;
  display: block;
}

/* TYPOGRAPHY SCALE FOR SCANDINAVIAN CLEAN */
h1, .h1 {font-size: 2.3rem;}
h2, .h2 {font-size: 1.45rem;}
h3, .h3 {font-size: 1.13rem;}
@media (max-width: 600px){
  h1, .h1 {font-size: 1.4rem;}
  h2, .h2 {font-size: 1.07rem;}
  h3, .h3 {font-size: 0.98rem;}
}

/* COLOR SCHEME - Scandinavian Inspired */
body {
  background: #F7FAF8;
}
.section, .card, .feature-grid > div, .service-grid > div {
  background: #fff;
}
.testimonial-card {
  background: #F2F2F2;
  color: #20405A;
}


/* SPACING, GAPS, WHITE SPACE */
.section, .card, .feature-grid > div, .service-grid > div {
  margin-bottom: 20px;
  gap: 16px;
}
.card-container, .content-grid, .feature-grid, .service-grid {
  gap: 20px;
}
main > section + section {
  margin-top: 22px;
}

/* MICRO-INTERACTION ANIMATIONS */
.cta-btn, .cookie-btn {
  transition: background 0.16s, box-shadow 0.20s, color 0.14s, transform 0.13s;
}
.card, .feature-grid > div, .service-grid > div {
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 8px 28px rgba(32,64,90,0.13);
  transform: translateY(-3px) scale(1.03);
}

/* BRAND FONTS - fallback if assets not loaded */
@font-face {
  font-family: 'Montserrat'; font-weight: 600; font-style: normal;
  src: local('Montserrat'), local('Montserrat-SemiBold');
}
@font-face {
  font-family: 'Roboto'; font-weight: 400; font-style: normal;
  src: local('Roboto'), local('Roboto-Regular');
}

/* Hide scrollbars on mobile menu for smooth look */
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Hide visually if not open */
.mobile-menu:not(.open) { pointer-events: none; opacity: 0; transition: opacity 0.23s; }
.mobile-menu.open { opacity: 1; pointer-events: all; }

/* MISC OVERRIDES */
::-webkit-input-placeholder { color: #A7ABAE; }
:-moz-placeholder { color: #A7ABAE; }
::-moz-placeholder { color: #A7ABAE; }
:-ms-input-placeholder { color: #A7ABAE; }
::placeholder { color: #A7ABAE; }

/* Print-safe, accessibility */
@media print { 
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, header .cta-btn { display: none!important; }
}

/* SCANDINAVIAN CLEAN - EXTRAS */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.02em;
}
.section {
  border-radius: 18px;
}

/* Utility row/column flex helpers if needed */
.flex-row { display: flex; flex-direction: row; gap: 18px; }
.flex-col { display: flex; flex-direction: column; gap: 18px; }

/* No grid, no columns anywhere! (MANDATORY) */
/* --- End CSS --- */
