/* ============================
   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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.5; }
body {
  background: #F5F7FA;
  color: #22313A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Roboto', Arial, sans-serif;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.2em;
}
a {
  color: #16537E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2C14E;
}
button {
  background: none; border: none; font: inherit; cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #16537E;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
.section ul, .section ol { margin-bottom: 16px; }
strong { font-weight: 700; }

/* Container & Section Spacing */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,49,58,0.05);
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =============================================
   Scandinavian Clean Brand: Color & Typography
   ============================================= */
:root {
  --primary: #16537E;
  --secondary: #F2C14E;
  --accent: #F5F7FA;
  --background: #F5F7FA;
  --surface: #fff;
  --text-main: #22313A;
  --text-light: #6f7a89;
  --shadow-low: 0 2px 12px rgba(34,49,58,0.05);
  --shadow-dep: 0 4px 20px rgba(22,83,126,0.08);
  --border-radius: 16px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  width: 100%;
  background: var(--surface);
  box-shadow: var(--shadow-low);
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav[aria-label="Hauptnavigation"] {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}
nav[aria-label="Hauptnavigation"] > a img {
  height: 48px; width: auto;
  margin-right: 28px;
}
nav[aria-label="Hauptnavigation"] ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
nav[aria-label="Hauptnavigation"] li a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
nav[aria-label="Hauptnavigation"] li a:hover, nav[aria-label="Hauptnavigation"] li a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.cta-btn {
  font-family: var(--font-display);
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  margin-left: 24px;
  transition: background 0.17s, box-shadow 0.20s, color 0.18s;
  box-shadow: 0 2px 8px rgba(22,83,126,0.09);
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(22,83,126,0.14);
}
.cta-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  z-index: 200;
  margin-left: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--secondary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 5000;
  padding: 40px 32px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 28px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 1.1rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid #E8ECEF;
  transition: color .18s, background .16s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--accent);
}

@media (max-width: 950px) {
  nav[aria-label="Hauptnavigation"] ul,
  nav[aria-label="Hauptnavigation"] .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 700px) {
  header .container {
    padding: 0 8px;
  }
  .mobile-menu {
    padding: 32px 8px 16px 8px;
  }
}

/* ==========================
   MAIN & SECTION LAYOUTS
   ========================== */
main {
  padding-top: 36px;
  padding-bottom: 36px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-low);
}
@media (max-width: 900px) {
  main {
    padding-top: 16px; padding-bottom: 20px;
  }
  section {
    margin-bottom: 32px;
    padding: 24px 6px;
  }
}

/* ================================
   FLEXBOX PATTERNS & PAGE GRIDS
   ================================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34,49,58,0.04);
  flex: 1 1 220px;
  padding: 28px 18px 22px 18px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .20s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 25px rgba(22, 83, 126, 0.08);
}
.feature-grid img {
  height: 38px; width: auto;
  filter: grayscale(0.1) brightness(0.93);
  margin-bottom: 7px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.service-list > div,
.service-list > li {
  background: var(--accent);
  border-radius: 13px;
  padding: 22px 17px 20px 18px;
  box-shadow: 0 2px 6px rgba(34,49,58,0.03);
  flex: 1 1 220px;
  min-width: 210px;
  margin-bottom: 20px;
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.feature-icons img {
  height: 48px;
  border-radius: 9px;
  background: var(--accent);
  padding: 10px;
  box-shadow: 0 2px 6px rgba(34,49,58,0.06);
}

.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(34,49,58,0.07);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .20s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(22,83,126,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Testimonials & Case Studies */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8FAFD;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(34,49,58,0.04);
  color: #22313A;
  font-style: italic;
  transition: border-color .18s, background .16s;
}
.testimonial-card:hover {
  border-color: var(--secondary);
  background: #FFFBE7;
}
.testimonial-card p {
  font-size: 1.12rem;
  font-style: italic;
  color: #385670;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #16537E;
  margin-left: auto;
  font-weight: 700;
}

.case-study-summaries {
  margin-top: 16px;
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(22,83,126,0.03);
  border-radius: 12px;
  padding: 18px 18px 12px 18px;
}
.case-study-summaries h3 {
  margin-top: 0; margin-bottom: 7px;
  font-size: 1.10rem;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: var(--accent);
  border-radius: 11px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(22,83,126,0.04);
  margin-bottom: 8px;
}
.faq-accordion h3 {
  font-size: 1.05rem; margin-bottom: 6px; color: var(--primary);
}
.cta-further-questions {
  margin-top: 20px;
  padding: 20px 0 0 0;
  border-top: 1px solid #E8ECEF;
}

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

/* Consultant Profiles */
.consultant-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.consultant-profiles > div {
  background: var(--accent);
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(22,83,126,0.04);
  padding: 18px 16px 13px 16px;
  min-width: 180px;
  flex: 1 1 200px;
  margin-bottom: 12px;
}

/* =======================================
   PAGE ELEMENTS (MAP, CONTACT, ETC)
   ======================================= */
.map-embed {
  margin-top: 12px;
  background: var(--accent);
  padding: 16px 15px;
  border-radius: 11px;
  box-shadow: 0 1px 4px rgba(22,83,126,0.04);
  color: var(--text-main);
}

/* List Styling */
ul, ol {
  margin-bottom: 18px;
}
li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--text-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
li img {
  height: 22px;
  margin-right: 2px;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--surface);
  border-top: 1px solid #E8ECEF;
  padding: 38px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  font-size: 0.97rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: var(--primary);
  transition: color .18s;
  padding: 2px 8px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  background: var(--accent);
  border-radius: 7px;
}
footer p {
  color: #6f7a89;
  font-size: 0.92rem;
  text-align: center;
}

/* =====================================
   BUTTONS, INTERACTIVE & HOVER FX
   ===================================== */
button,
.cta-btn,
.mobile-menu-toggle {
  transition: background .18s, color .18s, box-shadow .18s;
}
.cta-btn:active, .mobile-menu-toggle:active {
  filter: brightness(.95);
}

/* Focus States */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 900px) {
  .feature-grid, .service-list, .consultant-profiles, .feature-icons, .card-container, .card-grid, .content-grid {
    gap: 16px;
  }
  .feature-grid > div,
  .service-list > div,
  .service-list > li,
  .card {
    min-width: 160px;
    padding: 18px 12px 16px 12px;
  }
}
@media (max-width: 768px) {
  .feature-grid,
  .service-list,
  .consultant-profiles,
  .feature-icons,
  .card-container,
  .card-grid,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card,
  .case-study-summaries {
    flex-direction: column;
    gap: 8px;
  }
  main, section {
    padding-left: 0; padding-right: 0;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  header .container { flex-direction: row; }
}

@media (max-width: 500px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 0.99rem; }
  .cta-btn {
    width: 100%;
    text-align: center;
    padding-left: 0; padding-right: 0;
    margin-left: 0;
  }
}

/* =====================================
   COOKIE CONSENT BANNER & MODAL
   ===================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #fffdf6;
  box-shadow: 0 -2px 16px rgba(22,83,126,0.06);
  border-top: 1px solid #eee9d9;
  padding: 22px 20px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 1rem;
  animation: cookiebanner-in 0.5s cubic-bezier(0.4,0,0.2,1);
  max-width: 650px;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes cookiebanner-in {
  from { transform: translateX(-50%) translateY(30px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-consent-text {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.4;
  flex: 1 1 auto;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 9px 22px;
  margin-left: 0px;
  box-shadow: 0 1px 4px rgba(22,83,126,0.04);
  transition: background .17s, color .16s, box-shadow .17s;
  cursor: pointer;
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: #1a2732;
}
.cookie-btn.settings {
  background: #f1f0ee;
  color: #22313A;
  border: 1px solid #ddd7c2;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 3px 14px rgba(22,83,126,0.13);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fffbe7;
  color: #856307;
  border-color: #e5d58f;
}

@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 16px;
    left: 1%; right: 1%;
    max-width: 97vw;
    transform: none;
    font-size: 0.97rem;
    padding: 18px 6px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 7000;
  background: rgba(22, 83, 126, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.23s cubic-bezier(0.4,0,0.2,1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(22,83,126,0.14);
  padding: 34px 26px 28px 26px;
  min-width: 320px;
  max-width: 95vw;
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-content 0.32s cubic-bezier(0.4,0,0.2,1);
}
@keyframes cookie-modal-content {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.3rem; margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 11px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--text-main);
}
.cookie-category .always-on {
  color: #A6ADC6;
  font-size: 0.91rem;
  margin-left: 7px;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-close {
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  position: absolute;
  top: 16px; right: 18px;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
@media (max-width: 460px) {
  .cookie-modal {
    min-width: 0;
    width: 98vw;
    padding: 24px 4vw 22px 4vw;
  }
  .cookie-modal-actions {
    flex-direction: column; gap: 8px;
  }
}

/* =========== Micro Animations ============= */
.card, .feature-grid > div, .service-list > div, .testimonial-card {
  transition: box-shadow .23s, border .19s, background .14s;
}
hr {
  border: none;
  border-bottom: 1px solid #eeeef1;
  margin: 32px 0 20px 0;
}

/******************************
  CUSTOM SCROLLBAR
******************************/
::-webkit-scrollbar {
  width: 10px; background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
  background: #DDD; border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B6BECB;
}

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

/******************************
  ACCESSIBILITY IMPROVEMENTS
******************************/
[tabindex]:focus, a:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* END OF SCANDINAVIAN_CLEAN THEME */
