/* =====================================================================
   Scandinavian Clean Style for BreezyMarktplatz
   Mobile-first, Flexbox-only, consistent with brand guidelines
   ===================================================================== */

/* ---------------------------------------------------------------------
   CSS Reset & Normalization
------------------------------------------------------------------------ */
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,
u, i, center,
dl, dt, dd, menu, 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,
main, 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;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  background: #F7FAFC; /* super-light background for Scandinavian touch */
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #223045;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 4px;
}
a {
  color: #153E75;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F9BE4C;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li { margin-bottom: 8px; }
strong { font-weight: 600; }

::selection {
  background: #D6E8FA;
}

/* ---------------------------------------------------------------------
   Typography hierarchy
------------------------------------------------------------------------ */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: #153E75;
  margin-bottom: 24px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #223045;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: #2D486A;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #2D486A;
}
p, .p {
  margin-bottom: 12px;
  color: #223045;
  font-size: 1rem;
}
.tagline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #153E75;
  margin-bottom: 20px;
}
blockquote {
  color: #223045;
  font-style: italic;
  border-left: 4px solid #D6E8FA;
  margin: 0 0 8px 0;
  padding-left: 18px;
}

/* ---------------------------------------------------------------------
   Container and section spacing (Mobile first)
------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.cta-banner {
  background: #D6E8FA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(21,62,117, 0.04);
  padding: 36px 24px;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   Flexbox layouts (NO CSS GRID anywhere)
------------------------------------------------------------------------ */
.card-container,
.card-grid,
.content-grid,
.feature-grid,
.service-teasers,
.services-grid,
.post-teaser-grid,
.latest-articles-grid,
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 14px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34, 48, 69, 0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(34, 48, 69, 0.09);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,48,69,0.04);
  padding: 24px 20px 20px 20px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(21,62,117, 0.09);
  padding: 20px;
  min-width: 260px;
  max-width: 410px;
  margin-bottom: 20px;
}
.testimonial-card p,
.testimonial-card blockquote {
  color: #223045;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #153E75;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: #F4FAFF;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(21,62,117, 0.04);
  margin-bottom: 0;
}
.faq-accordion h3 {
  margin-bottom: 8px;
  color: #153E75;
  font-weight: 600;
  cursor: pointer;
}

.process-steps-timeline,
.step-by-step-guide {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
ol {
  margin-bottom: 20px;
}

.team-lead-highlight {
  background: #F5F8FB;
  border-left: 4px solid #F9BE4C;
  border-radius: 7px;
  padding: 16px 18px;
  box-shadow: 0 1px 8px rgba(21,62,117, 0.02);
  margin-bottom: 14px;
}
.core-values-list {
  margin-bottom: 18px;
}

.usp-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.usp-icons img {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(21,62,117,0.06);
  padding: 8px;
}
.usp-explanations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.categories-filter {
  margin-bottom: 18px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.categories-filter a {
  padding: 3px 12px;
  border-radius: 99px;
  background: #F4FAFF;
  color: #153E75;
  margin: 0 2px;
  transition: background 0.18s, color 0.18s;
}
.categories-filter a:hover {
  background: #D6E8FA;
  color: #223045;
}

.directions-link a {
  color: #153E75;
  text-decoration: underline;
  font-weight: 500;
}
.directions-link a:hover {
  color: #F9BE4C;
}

/* ---------------------------------------------------------------------
   Buttons & Interactive Elements
------------------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #153E75;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 30px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(21,62,117, 0.08);
  transition: background 0.2s, box-shadow 0.18s, transform 0.16s;
  text-decoration: none;
  outline: none;
  margin-top: 10px;
  min-width: 160px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #0f2c51;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(21,62,117, 0.10);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F9BE4C;
  color: #253553;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 12px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(249,190,76, 0.13);
  transition: background 0.18s, color 0.18s, transform 0.13s;
  outline: none;
  margin-top: 8px;
  min-width: 150px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ffe0a3;
  color: #153E75;
  transform: translateY(-1px) scale(1.015);
}

/* ---------------------------------------------------------------------
   Header & Navigation
------------------------------------------------------------------------ */
header {
  background: #fff;
  padding: 0;
  border-bottom: 1px solid #e3eef7;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 18px;
}
header img {
  height: 38px;
  width: auto;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #153E75;
  font-size: 1rem;
  transition: color 0.17s;
  padding: 5px 6px;
  border-radius: 5px;
  position: relative;
}
.main-nav a[aria-current="page"] {
  background: #D6E8FA;
  color: #153E75;
  box-shadow: 0 0 0 2px #D6E8FA;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: #F4FAFF;
  color: #223045;
}
.main-nav .btn-primary {
  margin-left: 16px;
}

/* Hamburger menu (mobile only) */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: #153E75;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.18s;
  margin-left: 8px;
  z-index: 52;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #D6E8FA;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(34, 48, 69, 0.92);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  background: #fff;
  height: 100vh;
  min-width: 235px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: -4px 0 24px rgba(21,62,117,0.12);
  padding: 38px 24px 30px 30px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.5,0,.5,1);
}
.mobile-menu.open nav {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #153E75;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 22px 24px 0 0;
  cursor: pointer;
  z-index: 110;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #153E75;
  padding: 11px 0;
  border-bottom: 1px solid #f0f5fa;
  text-align: left;
  transition: color 0.17s, background 0.17s;
  border-radius: 3px;
  margin-right: 0;
}
.mobile-nav a[aria-current="page"] {
  background: #D6E8FA;
  color: #153E75;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9BE4C;
  color: #223045;
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header .container {
    gap: 10px;
  }
}

/* ---------------------------------------------------------------------
   Hero Section
------------------------------------------------------------------------ */
.hero {
  background: linear-gradient(120deg, #f4f8fb 82%, #D6E8FA 100%);
  padding: 56px 0 40px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 570px;
  margin: 0 auto;
  gap: 16px;
  text-align: left;
}
.hero h1 {
  margin-bottom: 18px;
}
.hero p {
  color: #223045;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.hero .btn-primary {
  margin-top: 20px;
}

/* ---------------------------------------------------------------------
   Footer Styles
------------------------------------------------------------------------ */
footer {
  background: #f4f7fa;
  padding: 0 0 26px 0;
  border-top: 1px solid #e3eef7;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 32px;
  padding-bottom: 12px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.footer-top img {
  height: 33px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #223045;
  font-size: 1rem;
  padding: 4px 5px;
  border-radius: 4px;
  transition: color 0.17s, background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F9BE4C;
  background: #D6E8FA;
}
.footer-bottom {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.company-info {
  font-size: 0.97rem;
  color: #356;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  line-height: 1.65;
}
.company-info a {
  color: #153E75;
}
.company-info a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------------
   Responsive (Mobile-first)
------------------------------------------------------------------------ */
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 23px 8px;
  }
  .content-wrapper {
    gap: 14px;
    padding: 0;
  }
  .feature-grid, .service-teasers, .services-grid, .content-grid,
  .testimonial-slider, .post-teaser-grid, .latest-articles-grid, .case-study-list, .footer-top {
    flex-direction: column !important;
    align-items: stretch;
    gap: 21px !important;
  }
  .cta-banner {
    padding: 18px 6px;
    border-radius: 9px;
    font-size: 0.99rem;
  }
  .hero {
    padding: 28px 0 20px 0;
  }
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.49rem; }
  h2, .h2 { font-size: 1.13rem; }
  .btn-primary, .btn-secondary { font-size: 0.98rem; padding: 11px 16px; }
}

/* Text + image Section (ensure stacking) */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ---------------------------------------------------------------------
   Cookie Consent Banner & Modal
------------------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(21,62,117,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 130;
  padding: 18px 28px;
  transition: transform 0.23s cubic-bezier(.4,0,.2,1), opacity 0.19s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner p {
  flex: 1 1 300px;
  font-size: 1rem;
  color: #223045;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-button {
  padding: 8px 22px;
  margin: 0 2px;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: #D6E8FA;
  color: #153E75;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  box-shadow: 0 1px 5px rgba(21,62,117, 0.06);
}
.cookie-button.accept {
  background: #153E75;
  color: #fff;
}
.cookie-button.accept:hover, .cookie-button.accept:focus {
  background: #20335a;
}
.cookie-button.reject {
  background: #F5F5F5;
  color: #223045;
  border: 1px solid #E3EEF7;
}
.cookie-button.reject:hover, .cookie-button.reject:focus {
  background: #F4FAFF;
}
.cookie-button.settings {
  background: #F9BE4C;
  color: #253553;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: #ffe0a3;
  color: #153E75;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,48,69,0.22);
  z-index: 198;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 36px rgba(21,62,117, 0.16);
  max-width: 430px;
  width: 98vw;
  padding: 32px 26px 26px 26px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: cookieModalIn 0.35s cubic-bezier(.4,0,.32,1);
}
@keyframes cookieModalIn {
  from { opacity:0; transform: translateY(30px) scale(0.98); }
  to { opacity:1; transform: none; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #153E75;
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal h2 {
  color: #153E75;
  font-size: 1.18rem;
  font-weight: 600;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #153E75;
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.cookie-category label {
  font-weight: 500;
  color: #223045;
}
.cookie-category .description {
  color: #5c6c8a;
  font-size: 0.96rem;
  margin-top: 1px;
  line-height: 1.42;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  align-items: center;
  justify-content: flex-end;
}

/* ---------------------------------------------------------------------
   Miscellaneous helpers and utility classes
------------------------------------------------------------------------ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.next-steps {
  background: #F4FAFF;
  border-radius: 11px;
  padding: 16px 15px;
  margin: 14px 0 16px 0;
  box-shadow: 0 1px 6px rgba(21,62,117, 0.03);
}
.results-summary {
  background: #F5F7FB;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 14px;
}

/* List style for custom lists in content */
.core-values-list,
.results-summary ul {
  list-style-type: disc;
  padding-left: 24px;
}
.core-values-list li,
.results-summary ul li {
  margin-bottom: 8px;
  color: #223045;
  font-size: 1rem;
}

/* FAQ active toggle simulation (for JS) */
.faq-accordion > div.open > div {
  display: block;
}
.faq-accordion > div > div {
  display: none;
  margin-top: 4px;
  color: #2D486A;
}

/* Decorative icon sizing */
.feature-grid img, .service-teasers img, .services-grid img, .feature-item img, .text-section img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

/* Case study item */
.case-study-list > div {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(34, 48, 69, 0.06);
  padding: 14px 16px;
  min-width: 230px;
  flex: 1 1 330px;
}

/* Step-by-step timeline appearance */
.timeline {
  font-size: 1rem;
  color: #153E75;
  background: #F4FAFF;
  padding: 10px 14px;
  border-radius: 7px;
  margin-top: 10px;
  box-shadow: 0 1px 5px rgba(21,62,117,0.02);
}

/* ---------------------------------------------------------------------
   Hide non-relevant elements for print
------------------------------------------------------------------------ */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body { color: #000; background: #fff; }
}
