/*
  Ölblick Analyse – Scandinavian Clean CSS
  ------------------------------------------------------
  DESIGN BASE: Modern + Scandinavian minimal; only flexbox layouts, brand colors/fonts, full responsive/mobile support.
*/

/* --- 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, 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {box-sizing: border-box;}
body {background: #F2F6F9; color: #213044; line-height: 1.6; font-size: 16px; min-height: 100vh; font-family: 'Open Sans', Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased;}
img {max-width: 100%; height: auto; display: block;}
a {color: #213044; text-decoration: none; transition: color 0.18s;}
a:hover, a:focus {color: #DBB038;}
ul, ol {padding-left: 24px;}

/* --- BRAND FONTS LOAD --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #213044;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 18px;
}
h1 {font-size: 2.75rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.25rem; margin-bottom: 12px; font-weight: 600;}
h4, h5, h6 {font-size: 1rem; font-weight: 600;}

p, li, span, blockquote {font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 1rem; color: #213044; line-height: 1.7;}

/* --- SPACING UTILITY --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(33,48,68,0.04);
}
@media (max-width: 768px) {
  .section {padding: 24px 8px; margin-bottom: 32px;}
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(33,48,68,0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .report-card:hover {
  box-shadow: 0 6px 30px rgba(33,48,68,0.12);
  transform: translateY(-4px) scale(1.012);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #F2F6F9;
  color: #213044;
  min-width: 260px;
  box-shadow: 0 2px 12px rgba(33,48,68,0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(33,48,68,0.14);
  transform: translateY(-2px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(33,48,68,0.05);
  padding: 24px 20px 20px 20px;
  flex: 1 1 300px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(33,48,68,0.09);
  transform: translateY(-2px) scale(1.008);
}

/***** HEADER & NAVIGATION *****/
header {
  background: #FFF;
  box-shadow: 0 2px 8px rgba(33,48,68,0.03);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 60;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}
header img[alt="Ölblick Analyse"] {
  height: 48px;
  width: auto;
  margin-right: 30px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #213044;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.19s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #DBB038;
  border-bottom: 2px solid #DBB038;
}

.cta-button.primary {
  background: #213044;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 28px;
  border: none;
  padding: 13px 28px;
  font-size: 1.08rem;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(33,48,68,0.10);
  transition: background 0.19s, color 0.17s, box-shadow 0.16s, transform 0.13s;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #DBB038;
  color: #213044;
  box-shadow: 0 4px 22px rgba(219,176,56,0.15);
  transform: translateY(-2px) scale(1.026);
}

/***** MOBILE NAVIGATION *****/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #213044;
  cursor: pointer;
  z-index: 111;
  transition: color 0.12s;
}
.mobile-menu-toggle:hover { color: #DBB038; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f2f6f9ea;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.78,0.16,0.22,0.89);
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #213044;
  align-self: flex-end;
  margin: 22px 26px 6px 0;
  cursor: pointer;
  z-index: 1112;
  transition: color 0.13s;
}
.mobile-menu-close:hover { color: #DBB038; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  padding: 38px 30px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #213044;
  padding: 13px 0;
  border-bottom: 1px solid #E8ECEF;
  transition: color 0.13s, border-color 0.13s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #DBB038;
  border-bottom: 1px solid #DBB038;
}

@media (max-width: 1100px) {
  header .container {gap: 0;}
  .main-nav a {font-size: 1rem;}
  .cta-button.primary {padding: 10px 18px; font-size: 1rem;}
}
@media (max-width: 900px) {
  .main-nav {gap: 10px;}
}

@media (max-width: 850px) {
  .main-nav, .cta-button.primary {display: none;}
  .mobile-menu-toggle {display: block; position: absolute; right: 28px; top: 21px;}
  header .container {padding-right: 60px;}
}

/* --- HERO SECTION --- */
.hero {
  background: #F2F6F9;
  border-radius: 0 0 32px 32px;
  padding: 54px 0 48px 0;
  display: flex;
  align-items: center;
  min-height: 290px;
}
.hero .container {justify-content: center; align-items: center; height: 100%;}
.hero h1 {font-size: 2.3rem; font-weight: 700; color: #213044; letter-spacing: -0.5px;}
.hero p {font-size: 1.16rem; color: #2F435C; margin-bottom: 14px;}
.hero .cta-button.primary {margin-top: 22px;}
@media (max-width: 900px) {
  .hero {padding: 30px 0 34px 0; min-height: 180px;}
  .hero h1 {font-size: 1.45rem;}
}

/* --- FEATURES SECTION --- */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-item img {
  width: 40px; height: 40px; margin-bottom: 0px;
  border-radius: 7px;
}
.features h3 {margin-bottom: 7px; margin-top: 2px;}
.features .feature-item p {font-size: 0.98rem; color: #2F435C;}

/* --- CARD & INFOGRAPHIC STYLES --- */
.report-cards, .highlight-articles, .team-directory, .trust-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.report-card, .team-member, .article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(33,48,68,0.06);
  padding: 21px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 210px;
  transition: box-shadow 0.15s, transform 0.14s;
  display: flex;
  flex-direction: column;
}
.report-card h3 {font-size: 1.09rem; margin-bottom: 8px;}
.download-link {
  color: #DBB038;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  display: inline-block;
  transition: color 0.15s;
}
.download-link:hover, .download-link:focus {color: #B2901E; text-decoration: underline;}

/***** TABLE STYLES *****/
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  margin: 18px 0 4px 0;
  background: #f8fafc;
}
thead th {
  background: #EFF2F7;
  color: #213044;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 10px;
  border-bottom: 2px solid #E8ECEF;
}
tbody td {
  padding: 11px 10px;
  border-bottom: 1px solid #E8ECEF;
}
tbody tr:last-child td {border-bottom: none;}
table tr:hover td {background: #F6F2E1;}

.comparison-tabs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 18px;
}
.comparison-tabs li {
  list-style: none;
  padding: 8px 20px;
  background: #E8ECEF;
  border-radius: 18px;
  color: #213044;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.comparison-tabs li.active, .comparison-tabs li:hover {
  color: #fff;
  background: #DBB038;
}

/* --- TESTIMONIALS/SLIDER --- */
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card .rating {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-bottom: 7px;
}
.testimonial-card p {
  color: #213044;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  color: #587098;
  font-weight: 500;
}
@media (max-width: 850px) {
  .testimonial-slider, .report-cards, .highlight-articles {flex-direction: column; gap: 20px;}
}

/* --- INFOGRAPHICS & SECTION SUBBLOCKS --- */
.infographic,
.summary-block,
.credentials,
.trust-highlights,
.partner-logos {
  background: #F2F6F9;
  border-radius: 15px;
  padding: 18px 22px 15px 22px;
  margin-top: 10px;
  margin-bottom: 24px;
}
.partner-logos {
  display: flex; flex-direction: column; gap: 6px 0; font-size: 0.96rem;
  color: #213044;
}
.partner-logos img {height: 28px; width: 28px; vertical-align: middle; margin-right: 8px;}
.credentials ul, .summary-block ul {margin-top: 7px;}

/***** TEAM DIRECTORY/ABOUT PAGE *****/
.team-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.team-member {
  flex: 1 1 180px;
  min-width: 160px;
  background: #fff;
  border-radius: 14px;
  padding: 19px 17px 15px 17px;
  box-shadow: 0 2px 9px rgba(33,48,68,0.05);
  font-size: 0.99rem;
  margin-bottom: 20px;
}
.team-member h3 {font-size: 1.07rem; margin-bottom: 5px;}

/***** FAQ ACCORDION *****/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F2F6F9;
  border-radius: 13px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(33,48,68,0.03);
  position: relative;
  transition: box-shadow 0.13s, background 0.13s;
}
.faq-item h3 {
  font-size: 1.13rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #213044;
  font-weight: 600;
}
.faq-item p {color: #2F435C; font-size: 0.98rem;}
.faq-accordion .faq-item:hover {
  background: #DBB03812;
  box-shadow: 0 4px 14px rgba(219,176,56,0.07);
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #E8ECEF;
  padding: 38px 0 6px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #213044;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 5px 1px;
  transition: color 0.16s;
}
.footer-nav a:hover {color: #DBB038;}

.social-links {
  display: flex;
  gap: 14px;
  padding-bottom: 4px;
}
.social-links a img {height: 28px; width: 28px; transition: opacity 0.14s, filter 0.17s;}
.social-links a:hover img {filter: grayscale(0) brightness(1.12); opacity: 0.85;}

footer .copyright {
  margin: 6px 0 6px 0;
  color: #6C7B93;
  font-size: 0.93rem;
  text-align: center;
}

/* --- BLOCKQUOTE, LISTS, GENERAL ELEMENTS --- */
blockquote {
  border-left: 4px solid #DBB038;
  background: #F2F6F9;
  border-radius: 11px;
  padding: 15px 20px;
  margin: 14px 0px 14px 0px;
  font-style: italic;
  color: #1d293a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
blockquote span {
  display: block;
  font-style: normal;
  font-size: 0.97rem;
  color: #76640F;
  margin-top: 4px;
}
li {
  margin-bottom: 7px;
  font-size: 1rem;
}
strong {font-weight: bold;}

/* --- ACCESSIBILITY/CONTRAST FOR CRITICAL ELEMENTS --- */
.testimonial-card, .testimonial-card p, .testimonial-card .testimonial-name {
  color: #213044;
  background: #F2F6F9;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {max-width: 950px;}
  .feature-item {min-width: 180px;}
  .report-card {min-width: 180px;}
  .team-member {min-width: 140px;}
}
@media (max-width: 850px) {
  .container {max-width: 99vw;}
  .team-directory, .report-cards, .highlight-articles, .feature-grid, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav {gap: 14px;}
}
@media (max-width: 600px) {
  h1 {font-size: 1.25rem;}
  h2 {font-size: 1rem;}
  .section {padding: 10px 4px; margin-bottom: 24px; border-radius: 8px;}
  .container {padding: 0 7px;}
  .feature-item, .card, .report-card, .team-member, .testimonial-card {
    padding: 13px 8px;
    border-radius: 8px;
  }
  .partner-logos, .infographic, .summary-block {
    padding: 10px 9px 6px 9px;
    border-radius: 7px;
  }
  .faq-item {padding: 8px 6px; border-radius: 6px;}
}

/* --- BREADCRUMBS (if needed) --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
  color: #6C7B93;
}

/* --- ANIMATIONS & TRANSITIONS --- */
@keyframes slideInRight {
  from {transform: translateX(100%);}
  to {transform: translateX(0);}
}
@keyframes slideOutRight {
  from {transform: translateX(0);}
  to {transform: translateX(100%);}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #213044;
  color: #fff;
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 3002;
  box-shadow: 0 -2px 19px rgba(33,48,68,0.12);
  opacity: 1;
  animation: fadeIn 0.6s;
  gap: 16px;
  border-radius: 20px 20px 0 0;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cookie-consent-text {
  font-size: 1rem;
  line-height: 1.5;
  flex: 2 1 340px;
  color: #fff;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 9px 22px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(33,48,68,0.10);
  outline: none;
  transition: background 0.16s, color 0.12s;
}
.cookie-btn.accept {
  background: #DBB038;
  color: #213044;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {background: #F2F6F9; color: #213044;}
.cookie-btn.reject {
  background: #E8ECEF;
  color: #213044;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {background: #adbacf; color: #fff;}
.cookie-btn.settings {
  background: none;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {background: #DBB038; color: #213044; border-color: #DBB038;}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 8px;
    font-size: 0.97rem;
    border-radius: 8px 8px 0 0;
  }
  .cookie-btn {font-size: 0.95rem; padding: 7px 14px;}
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,48,68,0.32);
  z-index: 3333;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 430px;
  width: 96vw;
  padding: 38px 34px 24px 34px;
  box-shadow: 0 8px 48px rgba(33,48,68,0.20);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeIn 0.27s;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #213044;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #F2F6F9;
  font-size: 1rem;
}
.cookie-category:last-child {border-bottom: none;}
.cookie-toggle-input {
  margin-right: 0;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #213044;
}
.cookie-modal .close-modal {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #213044;
  cursor: pointer;
  margin-top: -27px;
  margin-right: -19px;
  padding: 0 6px;
  transition: color 0.18s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {color: #DBB038;}

.toggle-switch {
  width: 36px; height: 22px;
  position: relative;
  display: inline-block;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #EAECEE;
  border-radius: 22px;
  transition: background 0.15s;
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #DBB038;
  border-radius: 50%;
  transition: transform 0.18s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #c2ac62;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(14px);
  background: #213044;
}
.toggle-switch input:disabled + .toggle-slider {
  background: #EBECEF;
  opacity: 0.5;
}

/* --- MISC: Hide default outline, improve focus ---*/
:focus {outline: 2px solid #DBB038; outline-offset: 1px;}
a:focus-visible, button:focus-visible {outline: 2px solid #DBB038;}

/* --- Prevent content overlap on mobile --- */
@media (max-width: 600px) {
  body, html {
    min-width: 320px;
    overflow-x: hidden;
  }
  table {font-size: 0.90rem;}
  .footer-nav, .social-links {gap: 7px;}
}

/* --- Z-INDEX SAFE --- */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {z-index: inherit;}
.mobile-menu {z-index: 2000;}
.cookie-consent-banner {z-index: 3002;}
.cookie-modal-overlay {z-index: 3333;}

/***** END - Ölblick Analyse CSS - Scandinavian Clean *****/
