/* CSS RESET & BASE TYPOGRAPHY */
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, 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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F1F6F9;
  min-height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background: #F1F6F9;
  color: #18405A;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Open+Sans:wght@400;600;700&display=swap');

/* BRAND COLORS */
:root {
  --primary: #18405A;
  --secondary: #AFD0E3;
  --accent: #F1F6F9;
  --black: #192029;
  --white: #fff;
  --focus: #0d253c;
  --shadow: rgba(24, 64, 90, 0.06);
  --highlight: #0B97BB;
  --danger: #E4434B;
}

/* UNIVERSAL STYLES */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 600;
}
a:hover, a:focus {
  color: var(--highlight);
  outline: none;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 20px;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--primary);
}
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
}
h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--primary);
  letter-spacing: .5px;
}
h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
}
p, li, span, em {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 16px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: bold;
  color: var(--primary);
}

/* BUTTONS & CTAs */
.cta-button,
button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 16px var(--shadow);
  padding: 13px 38px;
  margin-top: 14px;
  margin-bottom: 5px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.23s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  outline: none;
}
.cta-button:hover,
.cta-button:focus,
button:hover,
button:focus {
  background: var(--highlight);
  color: var(--white);
  box-shadow: 0 7px 22px rgba(24,64,90,0.13);
  transform: translateY(-2px) scale(1.04);
}
button:active, .cta-button:active { transform: scale(0.96); }

/* HEADER, NAVIGATION, HERO */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
  max-width: 200px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  padding: 7px 10px;
  border-radius: 18px;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--focus);
  text-decoration: none;
}

@media (max-width: 960px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  .main-nav { gap: 10px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 4px;
    padding-left: 5px;
    padding-right: 9px;
  }
  .main-nav { display: none; }
  .cta-button { display: none; }
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 101;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--highlight);
  color: var(--white);
}
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(24, 64, 90, 0.96);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.83,.02,.35,1.3);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 24px 32px 12px 0;
  font-size: 2.3rem;
  background: none;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: color .15s;
  z-index: 210;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  width: 80vw;
  max-width: 340px;
  background: var(--primary);
  box-shadow: -3px 0 18px var(--shadow);
  border-radius: 18px 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 42px 34px 24px 22px;
  height: calc(100vh - 40px);
  margin-right: 10px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 7px;
  border-radius: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background .18s, color .16s;
  margin: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 406px) {
  .mobile-nav { width: 99vw; padding: 30px 11px 19px 10px; }
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(100deg, var(--secondary) 60%, var(--accent) 100%);
  padding: 0;
  border-bottom: 5px solid var(--primary);
}
.hero-section .container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  width: 100%;
}
.hero-section h1 {
  color: var(--primary);
  font-size: 2.2rem;
}
.hero-section p {
  font-size: 1.17rem;
  color: #192029;
  letter-spacing: .2px;
  margin-bottom: 4px;
}
.hero-section .cta-button {
  margin-top: 18px;
  background: var(--primary);
}
@media (min-width: 600px) {
  .hero-section h1 { font-size: 3rem; }
  .hero-section p { font-size: 1.2rem; }
}
@media (max-width: 600px) {
  .hero-section .container { padding-top: 26px; padding-bottom: 26px; }
}

/* PAGE SECTION SPACING & FLEX PATTERNS (MANDATORY) */
/* .section pattern is only for example use where <section class="section"> may occur */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 30px 22px;
  min-width: 230px;
  transition: box-shadow .23s, transform .2s;
}
.card:hover {
  box-shadow: 0 10px 30px rgba(24,64,90,0.14);
  transform: translateY(-6px) 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: var(--accent);
  border-left: 6px solid var(--primary);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: box-shadow .18s, border-color .22s;
}
.testimonial-card:hover { box-shadow: 0 6px 20px rgba(24,64,90,0.14); border-left-color: var(--highlight); }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 26px 20px 19px 20px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 400px;
  transition: box-shadow .21s, transform .17s;
}
.feature-item img {
  height: 48px;
  width: 48px;
  margin-bottom: 0;
  display: block;
}
.feature-item:hover {
  box-shadow: 0 7px 24px rgba(24,64,90,0.12);
  transform: translateY(-3px) scale(1.015);
  border-color: var(--secondary);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* Testimonial section visual & contrast rules */
.testimonials-section {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.testimonials-section .testimonial-card {
  background: var(--accent);
  color: var(--primary);
  border-left: 6px solid var(--highlight);
}
.testimonials-section .testimonial-card p {
  color: #192029;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.testimonials-section .testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  font-style: normal;
}
.ratings-summary {
  display: flex;
  align-items: center;
  font-size: 1.04rem;
  color: var(--primary);
  gap: 8px;
  margin-top: 8px;
}
.ratings-summary img {
  height: 26px;
  margin-right: 6px;
}

.blogposts-section .categories {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--primary);
}

.blogposts-section .post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.post-preview {
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 1px 7px var(--shadow);
  padding: 25px 20px;
  margin-bottom: 10px;
  transition: box-shadow .18s, transform .14s;
}
.post-preview:hover { box-shadow: 0 5px 16px rgba(24,64,90,0.10); transform: translateY(-2px) scale(1.01); }
.post-preview h3 { font-size: 1.13rem; margin-bottom: 10px; color: var(--primary); }

.short-stories {
  margin-top: 32px;
  background: var(--secondary);
  border-radius: 14px;
  padding: 23px 17px;
}
.short-stories h3 {
  color: var(--primary);
  font-size: 1.13rem;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 13px;
}
.short-stories ul {
  margin: 0 0 0 6px;
}
.short-stories li {
  font-size: 1rem;
  color: #192029;
  margin-bottom: 11px;
}

/* CONTACT BOXES */
.contact-section ul li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.contact-section ul li img {
  width: 26px;
  height: 26px;
}

/* LEGAL SECTION & PRIVACY POLICY */
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}
.legal-section h1, .legal-section h2 {
  color: var(--primary);
}
.legal-section .text-section {
  margin-top: 20px;
  background: var(--accent);
  padding: 35px 25px 18px 25px;
  border-radius: 13px;
  box-shadow: 0 1px 5px var(--shadow);
}
.legal-section ul li {
  color: #192029;
}

.confirmation-section .content-wrapper {
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 32px 20px;
  margin: 30px 0 40px 0;
}
.confirmation-section h1 {
  color: var(--primary);
}
.confirmation-section p, .confirmation-section a {
  color: #192029;
}

/* FOOTER */
footer {
  margin-top: 60px;
  padding: 30px 0 14px 0;
  background: var(--primary);
  color: var(--white);
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 4px;
}
.footer-nav a {
  color: var(--white);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 8px;
  transition: background 0.15s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-info {
  color: var(--secondary);
  font-size: 0.96rem;
}

@media (max-width: 620px) {
  .footer-nav { flex-direction: column; gap: 9px; text-align: center; }
  .footer-info{ text-align: center; }
}

/* MANDATORY RESPONSIVE FLEX RULES */
@media (max-width: 900px) {
  .features-grid, .card-container, .content-grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .hero-section .container { padding-top: 26px; padding-bottom: 26px; }
  .content-wrapper {
    padding-left: 2px;
    padding-right: 2px;
  }
  .feature-item, .testimonial-card, .card {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }
  .section { padding: 30px 6px; }
}
@media (max-width: 450px) {
  .hero-section .container, .container, .legal-section {
    padding-left: 2vw; padding-right: 2vw;
  }
}

/* SPACING, SHADOWS, & GEOMETRIC EFFECTS */
section, .section {
  background-clip: padding-box;
  border-radius: 22px;
  background: var(--accent);
  margin-bottom: 60px;
  box-shadow: 0 1px 8px var(--shadow);
}

.features-section, .philosophie-section, .services-section {
  background: var(--accent);
  border-radius: 17px;
  padding: 40px 0 35px 0;
}

@media (max-width: 530px) {
  section, .section {
    margin-bottom: 32px;
    padding: 18px 2vw;
  }
}

/* GEOMETRIC/DECORATIVE SHAPES (for "modern_bold" look) */
.hero-section:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 125px; height: 125px;
  background: var(--secondary);
  border-radius: 0 0 75px 0;
  z-index: 0;
  opacity: 0.22;
}
.hero-section .container,
.hero-section .content-wrapper,
.hero-section:before {
  position: relative;
  z-index: 1;
}
@media (max-width: 540px) {
  .hero-section:before { width: 64px; height: 64px; border-radius: 0 0 32px 0; }
}

/* HOVER/FOCUS EFFECTS FOR INTERACTIVE ELEMENTS */
.card, .feature-item, .post-preview {
  cursor: pointer;
  transition: box-shadow .19s, transform .17s;
}
.card:focus, .feature-item:focus, .post-preview:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--secondary);
}
.cta-button:focus, button:focus, a:focus {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS & SIMPLE ANIMATION */
.cta-button, .feature-item, .testimonial-card, .post-preview {
  transition: box-shadow .19s, background .19s, transform .16s, border-color 0.18s, color 0.15s;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--white);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-shadow: 0 -2px 12px var(--shadow);
  padding: 28px 18px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.4s, opacity .30s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 0%;
  color: var(--white);
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
}
.cookie-banner button {
  font-size: 0.99rem;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background .20s, color .18s, box-shadow .2s;
}
.cookie-banner .accept {
  background: var(--highlight);
  color: var(--white);
  font-weight: 700;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #23bbe6;
}
.cookie-banner .reject {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--accent);
  color: var(--focus);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 7px 19px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 8px; }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 64, 90, 0.65);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 30px 26px 30px;
  max-width: 400px;
  width: 95vw;
  color: var(--primary);
  box-shadow: 0 4px 36px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 11px;
  font-family: 'Oswald', Arial, sans-serif;
}
.cookie-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}
.cookie-cat-label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #192029;
  min-width: 110px;
}
.cookie-cat input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--highlight);
  border-radius: 6px;
}
.cookie-cat input[disabled] {
  accent-color: var(--secondary);
  opacity: 0.7;
}
.cookie-modal .buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 22px;
}
.cookie-modal button {
  min-width: 120px;
  font-size: 1.03rem;
  border-radius: 27px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background .20s, color .18s;
}
.cookie-modal .accept {
  background: var(--highlight);
  color: var(--white);
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #23bbe6; color: var(--white);
}
.cookie-modal .close-modal {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--accent);
  color: var(--focus);
}

/* ---- UTILITY CLASSES ---- */
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: 4px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.gap-20 { gap: 20px; }
.align-center { align-items: center; }
.text-center { text-align: center; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }

/* ------ MISC ------- */
::-webkit-input-placeholder { color: #7992aa; }
::-moz-placeholder { color: #7992aa; }
:-ms-input-placeholder { color: #7992aa; }
::placeholder { color: #7992aa; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
}

/* END: Modern Bold, Flexbox-Only, Brand-Consistent CSS */
