/* =============================================================
   Oxylon Süd – Minimalist Responsive Brand CSS (Flexbox Only)
   ============================================================= */

/* CSS Reset and 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-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #1a2531;
  font-size: 1rem;
  min-height: 100vh;
}

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

/* Remove list styles and decoration */
ul, ol {
  list-style: none;
}
a {
  color: #21426B;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #5C8F91;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------
   General Layout Containers
------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* Card Layout */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(33,66,107,0.07);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Utility Layouts */
.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: #F3F6F9;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(33,66,107,0.04);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------------------------
   Typography & Headings
------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #21426B;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.0rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.07rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1a2531;
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.62;
  font-weight: 400;
}
strong {
  font-weight: 700;
}
blockquote {
  font-size: 1.1rem;
  color: #21426B;
  font-style: italic;
  background: transparent;
  border-left: 4px solid #21426B;
  margin: 0;
  padding-left: 14px;
}

/* Section text blocks */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
}

/* -----------------------------------------------------------
   Header & Navigation
------------------------------------------------------------ */
header {
  background: #fff;
  border-bottom: 1px solid #e7ecf3;
  padding: 0;
  z-index: 1020;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img[alt="Oxylon Süd"] {
  height: 42px;
}
header nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #21426B;
  font-weight: 600;
  font-size: 1.01rem;
  padding: 6px 0;
  border-radius: 8px;
  position: relative;
  transition: color 0.13s;
}
header nav a:hover, header nav a:focus {
  color: #5C8F91;
  background: #F3F6F9;
}
header .cta {
  margin-left: 16px;
}

/* -----------------------------------------------------------
   CTAs, Buttons & Links
------------------------------------------------------------ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  background: #F3F6F9;
  color: #21426B;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 4px 0 rgba(33,66,107,0.05);
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, border-color 0.15s;
  text-align: center;
  margin-top: 6px;
  gap: 8px;
}
.cta.primary {
  background: #21426B;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #5C8F91;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(33,66,107,0.09);
}
.cta.secondary {
  background: #F3F6F9;
  color: #21426B;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #e6eef4;
  color: #21426B;
  box-shadow: 0 4px 18px 0 rgba(33,66,107,0.10);
}

button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* -----------------------------------------------------------
   Feature Grids, Lists, Team Presentation
------------------------------------------------------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid li {
  min-width: 220px;
  flex: 1 0 190px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(33,66,107,0.06);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid #f3f6f9;
}

.feature-grid img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 4px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0;
  width: 100%;
}
.step-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 18px 12px;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(33,66,107,0.05);
  min-width: 210px;
  border: 1px solid #F3F6F9;
  margin-bottom: 20px;
}
.step-list img {
  width: 32px; height: 32px; flex-shrink: 0;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-list > div {
  flex: 1 0 260px;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(33,66,107,0.07);
  padding: 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #F3F6F9;
}

/* Blog teasers */
.blog-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-teasers article {
  flex: 1 0 260px;
  min-width: 200px;
  background: #F3F6F9;
  border-radius: 11px;
  padding: 22px 15px;
  box-shadow: 0 1px 8px 0 rgba(33,66,107,0.05);
  transition: box-shadow 0.17s;
  cursor: pointer;
}
.blog-teasers article:hover {
  box-shadow: 0 6px 24px 0 rgba(33,66,107,0.12);
}

/* FAQ Layout */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #F3F6F9;
  border-radius: 10px;
  padding: 18px 16px;
  box-shadow: 0 1px 8px 0 rgba(33,66,107,0.04);
  margin-bottom: 20px;
}
.faq-item h3 {
  font-family: 'Montserrat', sans-serif;
  color: #21426B;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Testimonial Card */
.testimonial-card {
  background: #F3F6F9;
  color: #1a2531;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(33,66,107,0.06);
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 180px;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e7ecf3;
}
.testimonial-details {
  font-size: 0.96rem;
  color: #21426B;
  font-weight: 600;
}

/* Contact Details */
.contact-details, .contact-hint, .contact-note {
  font-size: 1.02rem;
  color: #21426B;
  background: #F3F6F9;
  padding: 12px 16px;
  border-radius: 8px;
}
.contact-hint {
  margin-bottom: 12px;
  font-weight: 700;
}
.contact-note {
  font-size: 0.98rem;
  color: #5C8F91;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 1px 8px 0 rgba(33,66,107,0.05);
  margin-bottom: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 14px 10px;
  text-align: left;
  font-size: 1.03rem;
}
.pricing-table th {
  background: #F3F6F9;
  color: #21426B;
  font-weight: 700;
}
.pricing-table tr {
  border-bottom: 1px solid #e7ecf3;
}
.pricing-table tr:last-child {
  border-bottom: none;
}

/* Footer */
footer {
  background: #F3F6F9;
  border-top: 1px solid #e7ecf3;
  padding: 30px 0 0 0;
  font-size: 1rem;
  color: #21426B;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-menu nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 4px;
}
.footer-menu nav a {
  color: #21426B;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 7px;
  padding: 4px 6px;
  transition: background 0.13s;
}
.footer-menu nav a:hover, .footer-menu nav a:focus {
  background: #e7ecf3;
}
.legal {
  font-size: 0.97rem;
  margin: 8px 0 12px 0;
  color: #5C8F91;
}

/* -----------------------------------------------------------
   BURGER MOBILE MENU (mobile-menu, mobile-menu-toggle)
------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  background: #21426B;
  color: #fff;
  border-radius: 50%;
  padding: 10px 12px;
  font-size: 2.1rem;
  z-index: 1202;
  box-shadow: 0 2px 18px 0 rgba(33,66,107,0.14);
  border: none;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #5C8F91;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 85vw;
  max-width: 390px;
  background: #fff;
  z-index: 1203;
  box-shadow: -3px 0 24px 0 rgba(33,66,107,0.12);
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(.62,1,.42,1.01);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 18px 0 0;
  font-size: 2.1rem;
  background: #F3F6F9;
  color: #21426B;
  border-radius: 50%;
  padding: 5px 10px;
  border: none;
  z-index: 1205;
  transition: background 0.15s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #21426B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin: 32px 0 0 30px;
}
.mobile-nav a {
  color: #21426B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.19rem;
  font-weight: 600;
  padding: 12px 6px 12px 0;
  border-radius: 8px 0 0 8px;
  background: none;
  text-align: left;
  transition: background 0.13s, color 0.19s;
  min-width: 80%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6eef4;
  color: #5C8F91;
}

/* -----------------------------------------------------------
   COOKIE CONSENT BANNER + PREFERENCES MODAL
------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 -2px 24px 0 rgba(33,66,107,0.13);
  border-top: 1px solid #e7ecf3;
  padding: 28px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.32s cubic-bezier(.61,1,.41,1.01), opacity 0.19s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  color: #21426B;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 0;
}
.cookie-btn {
  border: none;
  border-radius: 19px;
  padding: 9px 22px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  margin: 0 3px;
}
.cookie-btn.accept {
  background: #21426B;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #5C8F91;
}
.cookie-btn.reject {
  background: #F3F6F9;
  color: #21426B;
  border: 1px solid #e7ecf3;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e7ecf3;
}
.cookie-btn.settings {
  background: #fff;
  color: #21426B;
  border: 1px solid #5C8F91;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F3F6F9;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2200;
  background: rgba(33,66,107,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 60px 0 rgba(33,66,107,0.19);
  max-width: 375px;
  width: 95vw;
  padding: 30px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #F3F6F9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #21426B;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background 0.13s, color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #21426B;
  color: #fff;
}
.cookie-modal-title {
  font-size: 1.36rem;
  color: #21426B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.cookie-modal-category label {
  color: #21426B;
  font-weight: 600;
  font-size: 1.01rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 21px;
  background: #F3F6F9;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-right: 9px;
  border: 1px solid #e7ecf3;
  transition: background 0.12s, border 0.14s;
}
.cookie-modal .cookie-toggle:checked {
  background: #5C8F91;
  border: 1px solid #5C8F91;
}
.cookie-modal .cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(33,66,107,0.08);
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle:checked::after {
  left: 20px;
}
.cookie-modal .cookie-toggle[disabled] {
  background: #e7ecf3;
  opacity: 1;
  cursor: not-allowed;
}
.cookie-modal-footer {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* -----------------------------------------------------------
   Responsive Design (Mobile First)
------------------------------------------------------------ */
@media (max-width: 1100px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 8px;
  }
  .content-wrapper, .team-list, .feature-grid, .step-list, .card-container, .blog-teasers {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid li, .team-list > div, .card {
    width: 100%;
    min-width: 0;
    flex: 1 0 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .pricing-table, .pricing-table th, .pricing-table td {
    font-size: 0.95rem;
    padding: 12px 6px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.55rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav,
  header .cta.primary {
    display: none !important;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.51rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .section {
    padding: 22px 6px;
  }
  .cookie-banner {
    padding: 19px 4px 12px 4px;
    font-size: 0.95rem;
  }
}

/* -----------------------------------------------------------
   Utility & Micro-interactions
------------------------------------------------------------ */
::-webkit-input-placeholder { color: #71869c; opacity: 1; }
:-ms-input-placeholder { color: #71869c; opacity: 1; }
::placeholder { color: #71869c; opacity: 1; }

hr {
  border: 0; border-top: 1px solid #e7ecf3; margin: 36px 0;
}

/* General transitions for links, cards, buttons */
.card, .feature-grid li, .team-list > div, .blog-teasers article {
  transition: box-shadow 0.20s, border-color 0.19s, background 0.16s;
}
.card:hover, .feature-grid li:hover, .team-list > div:hover, .blog-teasers article:focus {
  box-shadow: 0 8px 28px 0 rgba(33,66,107,0.13);
  border-color: #cce5f0;
  background: #f9fcfd;
}

/* Remove tap highlight on buttons/links */
button, a, .cta {
  -webkit-tap-highlight-color: transparent;
}

/* Hide visually but keep for screen readers */
.sr-only { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* Miscellaneous */
.tablet-hide { display: none !important; }

/* -----------------------------------------------------------
   ACCESIBILITY & CONTRAST ENHANCEMENTS
------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid #5C8F91;
  outline-offset: 2px;
}

/* Ensure testimonials readable on all backgrounds */
.testimonial-card, .faq-item {
  color: #1a2531 !important;
  background: #F3F6F9 !important;
}

/* End of CSS */
