/* =========================================================
   MONDWELLEN ATELIER – MODERN_BOLD STYLE.CSS
   Responsive, Flexbox-only, Modern Bold Brand Design
   ========================================================= */

/* --- RESET AND BASE --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #262836;
  background: #F6F4EE;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #314167;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s linear;
  outline: none;
}
a:hover, a:focus {
  color: #8DCBBA;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
b, strong {
  font-weight: 700;
}

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  line-height: 1.12;
  font-weight: 800;
  color: #314167;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 700;
  color: #314167;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #8DCBBA;
}
h4, .h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #314167;
}
p, .subtitle {
  font-size: 1rem;
  margin-bottom: 12px;
}
.subtitle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #8DCBBA;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

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

/* FLEXBOX Patterns (As Required) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(49, 65, 103, 0.10), 0 1.5px 6px rgba(49,65,103,0.04);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(49, 65, 103, 0.20), 0 2px 8px rgba(49,65,103,0.07);
  transform: translateY(-4px) scale(1.01);
}
.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: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(49, 65, 103, 0.09), 0 1px 2px rgba(49,65,103,0.035);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 2em;
}
.service-list > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(49, 65, 103, 0.09), 0 1px 2px rgba(49,65,103,0.035);
  flex: 1 1 225px;
  min-width: 220px;
  margin-bottom: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.service-list > div:hover {
  box-shadow: 0 6px 20px rgba(49, 65, 103, 0.20), 0 2px 8px rgba(49,65,103,0.08);
  transform: translateY(-3px);
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(49,65,103,0.06);
  padding-top: 6px;
  padding-bottom: 6px;
  z-index: 50;
  position: relative;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}
header img {
  max-height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #314167;
  border-radius: 6px;
  padding: 8px 12px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #8DCBBA;
  color: #fff;
  text-decoration: none;
}
.main-nav .cta {
  background: #314167;
  color: #fff;
  border-radius: 8px;
  margin-left: 8px;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: background 0.21s, color 0.18s, transform 0.18s;
}
.main-nav .cta:hover,
.main-nav .cta:focus {
  background: #8DCBBA;
  color: #314167;
  transform: scale(1.04) translateY(-2px);
  text-decoration: none;
}

/* --- BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #314167;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 110;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #8DCBBA22;
  color: #8DCBBA;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(49,65,103,0.12);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.83,-0.01,.07,1.02);
  display: flex;
  flex-direction: column;
  padding: 32px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #314167;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.16s, color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #8DCBBA22;
  color: #8DCBBA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  color: #314167;
  padding: 10px 0px 10px 2px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #8DCBBA;
  color: #fff;
  text-decoration: none;
}
.mobile-nav a.cta {
  background: #314167;
  color: #fff;
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px 20px;
  font-size: 1.09rem;
}
.mobile-nav a.cta:hover,
.mobile-nav a.cta:focus {
  background: #8DCBBA;
  color: #314167;
}

/* --- HERO --- */
section:first-child {
  background: #314167;
  color: #fff;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 12px 40px -6px #3141671c;
  padding-top: 48px;
  padding-bottom: 54px;
  margin-bottom: 32px;
}
section:first-child h1, section:first-child .h1 {
  color: #fff;
}
section:first-child .subtitle {
  color: #8DCBBA;
  opacity: 0.90;
}
section:first-child .cta {
  background: #8DCBBA;
  color: #314167;
}
section:first-child .cta:hover,
section:first-child .cta:focus {
  background: #fff;
  color: #314167;
}

/* --- BUTTONS --- */
.cta, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  background: #314167;
  color: #fff;
  padding: 14px 32px;
  border-radius: 32px;
  border: none;
  outline: none;
  display: inline-block;
  margin-top: 12px;
  transition: background 0.20s, color 0.17s, box-shadow 0.17s, transform 0.17s;
  box-shadow: 0 2px 8px rgba(49,65,103,0.08);
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta:hover,
.cta:focus,
.btn:hover,
.btn:focus {
  background: #8DCBBA;
  color: #314167;
  box-shadow: 0 4px 16px rgba(49, 65, 103, 0.18);
  transform: translateY(-2px) scale(1.015);
  text-decoration: none;
}

/* --- SECTIONS, LISTS, GENERAL CONTENT --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
ul {
  list-style: disc inside;
  padding-left: 16px;
}
ol {
  list-style: decimal inside;
  padding-left: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  color: #314167;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-left: 6px solid #8DCBBA;
  padding: 28px 26px;
  box-shadow: 0 2px 12px rgba(49,65,103,0.11);
  border-radius: 14px;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #314167;
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: 0.99rem;
  color: #8DCBBA;
  font-weight: 700;
}

/* --- FOOTER --- */
footer {
  background: #314167;
  color: #fff;
  border-radius: 32px 32px 0 0;
  margin-top: 48px;
  box-shadow: 0 -6px 40px -12px #3141672c;
  font-size: 1rem;
  padding-top: 44px;
  padding-bottom: 24px;
  position: relative;
  z-index: 20;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #8DCBBA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: color 0.18s;
  font-size: 1rem;
  border-radius: 4px;
  padding: 5px 8px;
}
footer nav a:hover {
  color: #fff;
  background: #8DCBBA2a;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-links img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #8DCBBA44;
  padding: 6px;
  transition: background 0.2s, transform 0.17s;
  cursor: pointer;
}
.social-links img:hover,
.social-links img:focus {
  background: #fff;
  transform: scale(1.13) rotate(-6deg);
}
.footer-copy {
  margin-top: 12px;
  font-size: 0.87rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #C2E6DB;
  max-width: 100%;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: #8DCBBA44;
  color: #314167;
  border-radius: 12px;
  padding: 20px;
  margin-top: 18px;
  margin-bottom: 8px;
  text-align: center;
  font-size: 1.04rem;
  font-style: italic;
}

/* --- UTILITIES & MICRO-INTERACTIONS --- */
[tabindex]:focus {
  outline: 2px solid #8DCBBA;
  outline-offset: 1px;
}
::-webkit-input-placeholder { color: #8DCBBA; }
::-moz-placeholder { color: #8DCBBA; }
:-ms-input-placeholder { color: #8DCBBA; }
::placeholder { color: #8DCBBA; }

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #314167;
  color: #fff;
  z-index: 20000;
  box-shadow: 0 -2px 24px rgba(49,65,103,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 1rem;
  transition: transform 0.38s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  transition: background 0.18s, color 0.14s, transform 0.14s;
  margin-right: 3px;
  margin-left: 0;
}
.cookie-banner .accept {
  background: #8DCBBA;
  color: #314167;
}
.cookie-banner .accept:hover {
  background: #fff;
  color: #314167;
}
.cookie-banner .reject {
  background: #fff;
  color: #314167;
}
.cookie-banner .reject:hover {
  background: #8DCBBA;
  color: #fff;
}
.cookie-banner .settings {
  background: #314167;
  color: #8DCBBA;
  border: 2px solid #8DCBBA;
}
.cookie-banner .settings:hover {
  color: #fff;
  background: #8DCBBA;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-52%) scale(1);
  background: #fff;
  color: #314167;
  border-radius: 22px;
  box-shadow: 0 6px 40px rgba(49,65,103,0.18);
  z-index: 21000;
  min-width: 320px;
  max-width: 95vw;
  width: 420px;
  padding: 40px 34px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.28s, transform 0.32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-52%) scale(0.98);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #314167;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 18px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #8DCBBA;
  width: 20px;
  height: 20px;
}
.cookie-modal .essential {
  font-weight: 700;
  color: #314167;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #8DCBBA;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover { color: #314167; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  border-radius: 16px;
  padding: 8px 22px;
  font-size: 1rem;
}

/* --- MEDIA QUERIES / RESPONSIVE --- */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 16px; }
  .service-list > div { min-width: 180px; padding: 16px; }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.62rem; }
  h2, .h2 { font-size: 1.23rem; }
  .service-list { gap: 10px; }
  .service-list > div { min-width: 140px; font-size: 0.96rem; }
  .container, .section { padding-left: 10px; padding-right: 10px; }
  .mobile-menu-toggle { display: block; }
  .main-nav { display: none !important; }
  header .container { min-height: 54px; }
  .section, section { padding: 24px 8px; margin-bottom: 32px; }
  .testimonial-card { flex-direction: column; gap: 10px; padding: 18px 10px; }
  .content-grid, .card-container, .service-list, .text-image-section {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .card { padding: 18px 10px; min-width: 0; }
  footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .cookie-modal { padding: 18px 8px 18px 10px; min-width: 0; width: 92vw; }
}
@media (max-width: 510px) {
  header img { max-height: 38px; }
  .cta, .btn { padding: 10px 16px; font-size: 1rem; }
  .footer-copy { font-size: 0.85rem; }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 10px 5vw; font-size: 0.98rem; }
}

/* --- PRINT OPTIMIZATION --- */
@media print {
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .mobile-menu,.mobile-menu-toggle,.cta,.btn,.cookie-banner,.cookie-modal,footer { display: none !important; }
}

/* --- ACCESSIBLE HIDE (Screen-reader text) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- GEOMETRIC/DECORATIVE ELEMENTS (optional, ex. before h2) --- */
h2::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  background: #8DCBBA;
  width: 34px;
  height: 6px;
  border-radius: 3px;
  margin-right: 11px;
  margin-bottom: 5px;
}


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