/* ========================================================== */
/* ÖlVergleich Pro – Minimalist, Modern, Responsive CSS        */
/* Brand colors: #203040 (primary), #DAA520 (secondary), #F5F5F5 (accent) */
/* Fonts: Roboto Slab (display), Open Sans (body)             */
/* Only Flexbox for layouts, NO Grid/Columns!                 */
/* ========================================================== */

/* ===================== 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,
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 {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #203040;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #203040;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #DAA520;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 8px;
  vertical-align: top;
}
th {
  background: #F5F5F5;
  font-weight: 700;
}
tr {
  border-bottom: 1px solid #eee;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Times New Roman', serif;
  color: #203040;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;margin-bottom:8px;
}
p {
  margin-bottom: 16px;
  color: #203040;
}
strong, b {
  font-weight: 600;
  color: #203040;
}
blockquote {
  font-family: 'Roboto Slab', serif;
  color: #203040;
  font-size: 1.1rem;
  border-left: 3px solid #DAA520;
  margin: 0 0 1.5em 0;
  padding: 8px 20px;
  background: #FAFAFA;
  border-radius: 8px;
}

/* ===================== GENERAL LAYOUT ===================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section, 
.hero, .features, .market-highlight, .trust, .data-table,
.company-grid, .leaderboard, .tech-overview, .comparison-table, .benefits,
.trend-overview, .report-grid, .newsletter-signup, .testimonials, .about, .team, .values, .callout,.contact-info, .thank-you, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* ===================== FLEXBOX PATTERNS ENFORCED ===================== */
.card-container,
.company-list,
.report-grid,
.card-grid,
.features,
.leaderboard,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(32,48,64,0.04);
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 22px 24px;
  min-width: 260px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(32,48,64,0.09);
}
.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: #F5F5F5;
  border-radius: 16px;
  font-size: 1.1rem;
  color: #203040;
  box-shadow: 0 2px 8px rgba(32,48,64,0.05);
  margin: 16px 0 0 0;
  min-width: 220px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================== HEADER & NAV ===================== */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  min-height: 68px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Open Sans',sans-serif;
  font-size: 1rem;
  color: #203040;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
header nav a:hover,
header nav a:focus {
  background: #F5F5F5;
  color: #DAA520;
}
.cta-btn, .cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  font-size: 1.08rem;
  cursor: pointer;
  font-family: 'Roboto Slab', serif;
  box-shadow: 0 2px 6px rgba(32,48,64,0.08);
  outline: 0;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
  margin-left: 18px;
  letter-spacing: 0.01em;
  text-align: center;
  background: #203040;
  color: #fff;
}
.cta-btn:hover, .cta-btn:focus {
  background: #DAA520;
  color: #203040;
  box-shadow: 0 4px 16px rgba(32,48,64,0.11);
}
.cta-btn-secondary {
  background: #fff;
  border: 2px solid #DAA520;
  color: #203040;
  margin-left: 0;
}
.cta-btn-secondary:hover, .cta-btn-secondary:focus {
  background: #DAA520;
  color: #fff;
}

/* HAMBURGER MENU: Only visible on mobile */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #203040;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F5F5F5;
}
/* MOBILE NAVIGATION MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 0 0 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.6,.05,.46,.94), opacity 0.18s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #203040;
  cursor: pointer;
  line-height: 1;
  z-index: 210;
  padding: 0 8px;
  border-radius: 6px;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F5F5F5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 90px 42px 40px 42px;
  align-items: flex-start;
  overflow-y: auto;
  height: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #203040;
  padding: 13px 10px;
  width: 100%;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F5F5;
  color: #DAA520;
}

/* ===================== HERO & CONTENT SECTIONS ===================== */
.hero {
  background: #F5F5F5;
  border-radius: 0 0 24px 24px;
  margin-bottom: 38px;
  padding: 54px 20px 54px 20px;
  text-align: left;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
  max-width: 680px;
}

.features ul, 
.tech-overview ul, 
.benefits ul, 
.trend-overview ul, 
.trust ul,
.team ul, .values ul,
.callout ul,
.contact-info ul, .company-list, .leaderboard ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features ul li,
.tech-overview ul li,
.benefits ul li,
.trend-overview ul li,
.trust ul li,
.team ul li,
.values ul li,
.leaderboard ol li,
.contact-info ul li {
  font-size: 1rem;
  color: #203040;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}
.features ul li img, .contact-info ul li img, .footer-contact img {
  width: 20px; height: 20px; object-fit: contain;
}

/* COMPANY PANELS, REPORT PREVIEWS, ETC */
.company-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(32,48,64,0.04);
  padding: 24px 20px 18px 20px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s;
}
.company-card:hover {
  box-shadow: 0 4px 24px rgba(32,48,64,0.09);
}
.report-preview {
  background: #fff;
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(32,48,64,0.05);
  flex: 1 1 320px;
  transition: box-shadow 0.14s;
}
.report-preview:hover {
  box-shadow: 0 6px 21px rgba(32,48,64,0.09);
}

/* ===================== TABLES (Vergleich, Technologien) ===================== */
.table, table {
  width: 100%;
  border: none;
  font-size: 1rem;
  margin-bottom: 18px;
}
th {
  background: #F5F5F5;
  color: #203040;
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  border-bottom: 1px solid #EEE;
}
td {
  background: #fff;
  border-bottom: 1px solid #EEE;
}
.filters {
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 1rem;
}
.filters span {
  background: #F5F5F5;
  color: #203040;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .98rem;
  margin-top: 2px;
}

/* ===================== FOOTER ===================== */
footer {
  background: #FAFBFC;
  border-top: 1px solid #eee;
  padding: 36px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  gap: 18px;
  flex-direction: column;
  min-width: 140px;
}
.footer-menu a {
  font-size: 1rem;
  color: #203040;
  padding: 3px 2px;
  border-radius: 5px;
  transition: background .13s, color .18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #F5F5F5;
  color: #DAA520;
}
.footer-contact {
  color: #203040;
  font-size: 0.96rem;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.7;
}
.footer-brand {
  color: #203040;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 160px;
}
.footer-brand img {
  width: 38px; height: 38px;
}

/* ===================== COOKIE CONSENT BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(250,251,252,0.98);
  color: #203040;
  font-size: 1rem;
  z-index: 2500;
  box-shadow: 0 -6px 22px rgba(32,48,64,0.035);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 18px 16px;
  transition: transform 0.24s, opacity 0.2s;
  gap: 18px;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 23px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Roboto Slab',serif;
  margin-right: 0;
  background: #203040;
  color: #fff;
  font-weight: 600;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  box-shadow: 0 1px 2px rgba(32,48,64,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #DAA520;
  color: #203040;
}
.cookie-btn.secondary {
  background: #fff;
  color: #203040;
  border: 2px solid #DAA520;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #DAA520;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%,50%) scale(1);
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 60px rgba(32,48,64,0.17);
  z-index: 2600;
  padding: 44px 24px 32px 24px;
  display: none;
  min-width: 310px;
  max-width: 94vw;
  text-align: left;
}
.cookie-modal.active {
  display: block;
  animation: modalIn 0.36s cubic-bezier(.7,.25,.3,.92);
}
@keyframes modalIn {
  0% { opacity: 0; transform: translate(-50%,64%) scale(.93); }
  100% { opacity: 1; transform: translate(-50%,50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 15px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 24px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 9px;
}
.cookie-modal-checkbox {
  accent-color: #203040;
  width: 18px; height: 18px;
  margin-right: 7px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 12px;
  background: none;
  color: #203040;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F5F5F5;
  border-radius: 7px;
}

/* ===================== RESPONSIVENESS ===================== */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
    padding-left: 8px; padding-right: 8px;
  }
}
@media (max-width: 960px) {
  header .container { flex-direction: row; gap: 12px; }
  .footer-menu, .footer-brand, .footer-contact {
    min-width: unset;
  }
  footer .container {
    gap: 28px;
  }
}
@media (max-width: 820px) {
  .section, .hero, .features, .market-highlight, .trust, .data-table, .company-grid, .leaderboard, .tech-overview, .comparison-table, .benefits, .trend-overview, .report-grid, .newsletter-signup, .testimonials, .about, .team, .values, .callout, .contact-info, .thank-you, .legal {
    padding: 32px 6vw;
    margin-bottom: 44px;
  }
  .container {
    max-width: 99vw;
    padding: 0 4vw;
  }
  footer .container { flex-direction: column; gap:18px; align-items: flex-start; }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    margin-left: 0;
    font-size: 1.04rem;
    padding: 10px 18px;
  }
  .hero {
    padding: 31px 5vw 36px 5vw;
    min-height: 220px;
  }
  .section, .features, .market-highlight, .trust, .data-table, .company-grid, .leaderboard, .tech-overview, .comparison-table, .benefits, .trend-overview, .report-grid, .newsletter-signup, .testimonials, .about, .team, .values, .callout, .contact-info, .thank-you, .legal {
    padding: 23px 5vw;
    margin-bottom: 28px;
  }
  .company-list, .card-container, .report-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-menu, .footer-brand, .footer-contact {
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 1.23rem; }
  .hero { min-height: unset; padding: 21px 2vw 27px 2vw; }
  .section, .features, .market-highlight, .trust, .data-table, .company-grid, .leaderboard, .tech-overview, .comparison-table, .benefits, .trend-overview, .report-grid, .newsletter-signup, .testimonials, .about, .team, .values, .callout, .contact-info, .thank-you, .legal {
    padding: 15px 2vw;
    margin-bottom: 18px;
  }
  h1, h2, h3, h4 { margin-bottom: 11px;}
}

/* ===================== HOVER, FOCUS & MICRO-INTERACTIONS ===================== */
button, .cta-btn, .cta-btn-secondary, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.17s, color 0.17s, box-shadow 0.13s, border 0.12s;
  outline: none;
}
button:active, .cta-btn:active, .cta-btn-secondary:active, .cookie-btn:active {
  box-shadow: 0 1px 2px rgba(32,48,64,0.13);
}
.company-card:focus-within,
.report-preview:focus-within,
.card:focus-within {
  box-shadow: 0 0 0 2px #DAA520;
}
tr:hover td {
  background: #F5F5F5;
  transition: background .17s;
}

/* ===================== UTILS + FINE TUNING ===================== */
::-webkit-input-placeholder { color: #20304099; }
::placeholder { color: #20304099; }

/* Remove tap highlight on mobile */
html {
  -webkit-tap-highlight-color: rgba(218,165,32,0.08);
}

/* Hide scrollbar in modal on mobile */
.cookie-modal::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* ===================== SPECIAL CLASSES FROM REQUIREMENTS ===================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ===================== PRINT (OPTIONAL) ===================== */
@media print {
  * { background: #fff !important; color: #000 !important; box-shadow:none!important; }
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
}
