/* ==========================================================
   ÖlVergleich style.css – Elegant Classic Responsive CSS
   ----------------------------------------------------------
   - Flexbox-only layouts (no grid/columns)
   - Elegant classic, refined, timeless style
   - Responsive (mobile-first)
   - Includes mobile burger menu and cookie banner
   ========================================================== */

/* ------------ 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F3F6F7;
}
body {
  font-family: 'Georgia', "Source Sans Pro", serif;
  color: #203A43;
  background: #F3F6F7;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
}
ul, ol {
  list-style: none;
}
a {
  color: #203A43;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6DB3C4;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font-family: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #E6ECED;
  font-weight: 700;
  font-size: 1rem;
}
tr:nth-child(even) {
  background: #F6FAFA;
}

/* ------------ TYPOGRAPHY ------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #203A43;
  margin-bottom: 12px;
  line-height: 1.13;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 800;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 11px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 9px;
}
p, li, td, th {
  font-family: 'Georgia', "Source Sans Pro", serif;
  font-size: 1.0625rem;
  color: #203A43;
}
.subheadline {
  font-size: 1.18rem;
  color: #4d6370;
  margin-bottom: 22px;
  font-style: italic;
  letter-spacing: 0.01em;
}
strong, b {
  font-weight: 700;
  color: #1a2830;
}
.text-section {
  font-size: 1.07rem;
  line-height: 1.85;
  color: #263848;
  margin-bottom: 18px;
}

/* ------------- LAYOUT ------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 32px 0 rgba(32,58,67,0.08);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container, .features, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(32,58,67,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,58,67,0.16);
  transform: translateY(-3px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F3F6F7;
  border-radius: 10px;
  padding: 18px 18px 18px 24px;
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F9FAFB;
  border-radius: 11px;
  box-shadow: 0 1px 5px 0 rgba(32,58,67,0.06);
  border: 1px solid #E7EDEE;
}
.testimonial-card p {
  font-size: 1.18rem;
  color: #1a2830;
  line-height: 1.6;
  font-family: 'Georgia', 'Source Sans Pro', serif;
}
.testimonial-card span {
  font-size: 1rem;
  font-style: italic;
  color: #233c47;
  align-self: flex-end;
}

/* ---------------- LIST STYLES ---------------- */
ul {
  padding-left: 0;
  margin-bottom: 16px;
}
ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.75;
}
ul li img {
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ------------- BUTTONS + CTAs ------------- */
.cta-btn,
button,
input[type="submit"] {
  display: inline-block;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: #203A43;
  padding: 13px 34px;
  border: none;
  border-radius: 32px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, box-shadow 0.16s, transform 0.16s;
  box-shadow: 0 2px 14px 0 rgba(32,58,67,0.09);
}
.cta-btn:hover, .cta-btn:focus,
button:hover,button:focus {
  background: #6DB3C4;
  color: #203A43;
  box-shadow: 0 4px 22px 0 rgba(32,58,67,0.18);
  transform: translateY(-2px) scale(1.02);
}

/* ----------- HEADER & NAVIGATION ----------- */
header {
  background: #fff;
  border-bottom: 1px solid #E6ECED;
  box-shadow: 0 2px 16px 0 rgba(32,58,67,0.02);
  position: sticky;
  top: 0; z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 72px;
  gap: 16px;
}
.main-navigation {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-navigation a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.02rem;
  color: #203A43;
  padding: 10px 3px;
  border-radius: 4px;
  background: none;
  font-weight: 600;
  transition: color 0.18s, background 0.12s;
}
.main-navigation a:hover,
.main-navigation a:focus {
  color: #fff;
  background: #6DB3C4;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #203A43;
  cursor: pointer;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e0e7ea;
}

/* ----------- MOBILE MENU ----------- */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,58,67,0.97);
  z-index: 996;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.7,.41,.5,1.2);
  box-shadow: -8px 0 32px 0 rgba(32,58,67,0.21);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #E6ECED;
  align-self: flex-end;
  margin: 36px 24px 12px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 40px 0 0 44px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  padding: 12px 0;
  min-width: 180px;
  font-family: 'Montserrat', Georgia, serif;
  transition: color 0.20s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6DB3C4;
  background: rgba(255,255,255,0.07);
}

/* ------------- MAIN ------------- */
main {
  flex: 1 0 auto;
  width: 100%;
  background: transparent;
  padding-top: 12px;
  padding-bottom: 12px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ------------- FOOTER ------------- */
footer {
  background: #203A43;
  color: #fff;
  padding: 0;
  font-size: 1rem;
  border-top: 1px solid #E7EDEE;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 28px;
}
.footer-logo img {
  width: 64px;
  height: auto;
  margin-right: 14px;
}
.footer-contact {
  color: #f7fafd;
  font-size: 1.07rem;
  margin-bottom: 10px;
  max-width: 355px;
  line-height: 1.65;
}
footer strong {
  color: white !important;
}
.footer-contact a {
  color: #83c5d6;
  text-decoration: underline;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
}
.footer-navigation a {
  color: #93b8be;
  font-family: 'Montserrat', Georgia, serif;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #fff;
}

/* ------------- RESPONSIVE BREAKPOINTS ------------- */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 992px) {
  .container { max-width: 98vw; }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 850px) {
  section {
    padding: 30px 6vw;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .main-navigation {
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  section {
    margin-bottom: 36px;
    padding: 24px 7vw;
  }
  .main-navigation,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 7vw;
    border-radius: 10px;
  }
  .content-wrapper, .card-container, .features, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .card {
    min-width: 0;
    width: 100%;
    box-shadow: 0 1px 6px 0 rgba(32,58,67,0.09);
    padding: 18px 7vw;
  }
  .testimonial-card {
    padding: 14px 7vw;
  }
  .footer-navigation {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  section {
    padding: 16px 2vw;
  }
  .footer-logo img {
    width: 38px;
  }
}

/* ------------- MISC CLASSES ------------- */
.contact-details {
  margin-top: 6px;
  margin-bottom: 14px;
  color: #22374a;
  font-size: 1.05rem;
  font-family: 'Georgia', 'Source Sans Pro', serif;
  line-height: 1.75;
}

/* ------------- TABLE STYLING ------------- */
table {
  margin-bottom: 16px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid #e6eced;
  box-shadow: 0 0.5px 5px 0 rgba(32,58,67,0.05);
}
th, td {
  border-bottom: 1px solid #e6eced;
}
th:last-child, td:last-child {
  border-right: none;
}

/* ------------- ANIMATIONS & TRANSITIONS ------------- */
.cta-btn, button {
  transition: background 0.22s, color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.mobile-menu,
.mobile-menu-close {
  transition: transform 0.4s cubic-bezier(.68,.01,.36,1.25), color 0.18s;
}
/* Micro-interaction for article links */
article a {
  display: inline-block;
  position: relative;
  transition: color 0.18s;
}
article a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #203A43;
  transition: width 0.21s;
  position: absolute;
  left: 0; bottom: -2px;
}
article a:hover:after, article a:focus:after {
  width: 100%;
  background: #6DB3C4;
}

/* ------------- COOKIE CONSENT BANNER + MODAL ------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  background: #203A43;
  color: #fff;
  padding: 26px 18px 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1.08rem;
  box-shadow: 0 -4px 26px 0 rgba(32,58,67,0.18);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.36s cubic-bezier(.68,.01,.36,1.25);
}
.cookie-banner.hidden {
  transform: translateY(100%);
}
.cookie-banner p {
  color: #fff;
  margin-right: 36px;
  max-width: 500px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 22px;
  padding: 10px 22px;
  margin: 0;
  border: none;
  cursor: pointer;
  background: #6DB3C4;
  color: #203A43;
  transition: background 0.24s, color 0.14s;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #203A43;
  border: 1.5px solid #E2E9EA;
  padding: 10px 24px;
  margin-left: 12px;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #203A43;
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #6DB3C4;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 2vw 14px 2vw;
  }
  .cookie-banner p {
    margin-right: 0;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32, 58, 67, 0.55);
  z-index: 99998;
  display: none;
}
.cookie-modal-backdrop.active { display: block; }
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(1);
  min-width: 315px;
  width: 95vw;
  max-width: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px 0 rgba(32,58,67,0.24);
  z-index: 99999;
  padding: 38px 26px 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  opacity: 1;
  transition: opacity 0.32s, transform 0.42s cubic-bezier(.62,.16,.41,.98);
}
.cookie-modal.hidden {
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.96);
  pointer-events: none;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  font-family: 'Montserrat', Georgia, serif;
  color: #203A43;
  margin-bottom: 3px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 17px; right: 19px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #6DB3C4;
  cursor: pointer;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin: 11px 0;
}
.cookie-modal-category strong {
  font-size: 1rem;
  color: #1a2830;
  min-width: 130px;
}
.cookie-modal-category label {
  font-weight: normal;
  margin-left: 7px;
}
.cookie-modal-toggle {
  appearance: none;
  width: 37px;
  height: 22px;
  border-radius: 12px;
  background: #E7EDEE;
  outline: none;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  vertical-align: middle;
}
.cookie-modal-toggle:checked {
  background: #6DB3C4;
}
.cookie-modal-toggle:before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 8px;
  background: #fff;
  position: absolute;
  left: 3px;
  top: 3px;
  transition: left 0.18s;
  box-shadow: 0 1px 3px 0 rgba(32,58,67,0.12);
}
.cookie-modal-toggle:checked:before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 17px;
}
.cookie-modal-actions button {
  background: #203A43;
  color: #fff;
  border-radius: 18px;
  padding: 8.5px 29px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.01rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.13s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #6DB3C4;
  color: #203A43;
}
@media (max-width: 400px) {
  .cookie-modal {
    padding: 18px 4vw 21px 4vw;
    min-width: unset;
  }
}

/* =========== UTILITIES =========== */
.d-none { display: none !important; }
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 21px; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- PRINT STYLES ---------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop {
    display: none !important;
  }
  body, html {
    background: #fff !important;
    color: #111 !important;
  }
  .section, section {
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0px !important;
    margin: 0 !important;
  }
}
