/* 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,
main, 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;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #161A20;
  color: #F5F6FA;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #6DBFAF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5F6FA;
  outline: none;
}
ul, li {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F5F6FA;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.25; }
h4 { font-size: 1.25rem; line-height: 1.3; }
h5 { font-size: 1.125rem; line-height: 1.3; }
h6 { font-size: 1rem; line-height: 1.3; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #E3E8EF;
}
strong {
  color: #fff;
  font-weight: 700;
}

/* LAYOUT UTILITY */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #1F232B;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(24,51,78,0.10), 0 1.5px 4px rgba(0,0,0,0.07);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #22262E;
  border: 1px solid #444C57;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(24,51,78,0.06), 0 1px 2px rgba(0,0,0,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.card:hover {
  border-color: #6DBFAF;
  box-shadow: 0 4px 28px rgba(24,51,78,0.20), 0 3px 14px rgba(109,191,175,0.10);
  z-index: 1;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F6FA;
  color: #23272D;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(24,51,78,0.06);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #6DBFAF;
  transition: box-shadow 0.15s;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #23272D;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: #18334E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* HEADER */
header {
  background: #161A20;
  border-bottom: 2px solid #232A35;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #E3E8EF;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: #232A35;
  color: #6DBFAF;
}
.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 28px;
  background: none;
  border: 2px solid #6DBFAF;
  border-radius: 24px;
  color: #6DBFAF;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.15s;
}
.btn-primary {
  background: #6DBFAF;
  color: #18334E;
  border: 2px solid #6DBFAF;
  box-shadow: 0 2px 12px rgba(109,191,175,0.10);
}
.btn-primary:hover, .btn-primary:focus {
  color: #fff;
  background: #227770;
  border-color: #227770;
  box-shadow: 0 4px 22px rgba(34,119,112,0.18);
}
.btn:active {
  transform: scale(0.97);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #232A35;
  color: #6DBFAF;
  border: none;
  border-radius: 8px;
  font-size: 2.2rem;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.16s;
  margin-left: 10px;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1F232B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #161A20;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.38,1.01,.51,.98);
  box-shadow: 0 2px 32px rgba(24,51,78,0.28);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 26px 32px 32px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #6DBFAF;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 36px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #227770;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #F5F6FA;
  padding: 10px 0;
  border-bottom: 1px solid #232A35;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6DBFAF;
}

/* HIDE MAIN NAV ON MOBILE */
@media (max-width: 991px) {
  header nav, .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 991px) {
  .mobile-menu {
    padding: 26px 12px 24px 12px;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero {
  width: 100%;
  padding: 70px 0 64px 0;
  background: linear-gradient(98deg,#22262E 80%,#18334E 100%);
  border-bottom: 2px solid #232A35;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.35rem;
  margin-bottom: 16px;
  color: #F5F6FA;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.18rem;
  color: #E3E8EF;
  margin-bottom: 22px;
}
.hero .btn {
  margin-top: 12px;
}

/* FEATURES */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #1B1F24;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(24,51,78,0.10);
}
.features h2 {
  color: #6DBFAF;
  margin-bottom: 10px;
}
.features ul,
.features ol {
  padding-left: 18px;
}
.features li {
  margin-bottom: 14px;
  font-size: 1.06rem;
  color: #E3E8EF;
  padding-left: 4px;
}

/* ABOUT, CTA, CONTACT, ETC */
.about, .cta, .contact, .services, .charts {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #20262F;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(24,51,78,0.09);
}
.about h2, .contact h2, .cta h2, .services h2 {
  color: #6DBFAF;
}
.cta {
  background: #18334E;
  display: flex;
  align-items: center;
}
.cta h2 {
  color: #F5F6FA;
}
.cta .btn-primary {
  margin-top: 18px;
  margin-bottom: 4px;
}

/* FILTER & TABLES */
.filter-options {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #22262E;
  border-radius: 8px;
  padding: 10px 14px;
  color: #6DBFAF;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 18px;
  border: 1px solid #2C3140;
}
.comparison-table, .equipment-table, .profit-table {
  width: 100%;
  background: #15181C;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(24,51,78,0.08);
  overflow-x: auto;
  margin-bottom: 22px;
}
.comparison-table th, .equipment-table th, .profit-table th {
  background: #18334E;
  color: #6DBFAF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  border-bottom: 2px solid #20314D;
}
.comparison-table td, .equipment-table td, .profit-table td {
  color: #E3E8EF;
  border-bottom: 1px solid #232A35;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.comparison-table td:last-child,
.equipment-table td:last-child,
.profit-table td:last-child {
  border-right: none;
}

/* CARDS AND GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 22px;
}
.feature-grid li {
  background: #232A35;
  border: 1px solid #303655;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(24,51,78,0.06);
  padding: 24px 18px 20px 18px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.18s, border 0.18s;
}
.feature-grid li:hover {
  border-color: #6DBFAF;
  box-shadow: 0 7px 32px rgba(109,191,175,0.11);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  filter: grayscale(20%) brightness(1.05) contrast(1.2);
  margin-bottom: 6px;
}
.feature-grid h3 {
  color: #6DBFAF;
  font-size: 1.26rem;
  margin-bottom: 3px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.feature-grid p {
  color: #E3E8EF;
  font-size: 0.99rem;
}

/* CONTACT LIST (UEBER UNS) */
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6DBFAF;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.contact ul img {
  width: 22px;
  height: 22px;
  filter: grayscale(50%) brightness(1.2);
}

/* FOOTER */
footer {
  background: #161A20;
  border-top: 2px solid #232A35;
  box-shadow: 0 -2px 12px rgba(24,51,78,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 35px 20px 20px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #6DBFAF;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5F6FA;
}
.contact-summary p {
  color: #B1B7C6;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
.legal-notices p {
  font-size: 0.92rem;
  color: #494E5A;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}

/* CHARTS (profit-analyses) */
.charts h3 {
  color: #6DBFAF;
  margin-bottom: 11px;
  font-size: 1.28rem;
}
.charts ul {
  padding-left: 24px;
  color: #E3E8EF;
}
.charts li {
  margin-bottom: 6px;
}

/* RESPONSIVE (MOBILE-FIRST) -------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .section, .about, .cta, .contact, .features, .services, .charts {
    padding: 22px 8px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .feature-grid {
    gap: 14px;
    flex-direction: column;
  }
  .card-container, .content-grid {
    gap: 10px;
    flex-direction: column;
  }
  .testimonial-card {
    gap: 12px;
    padding: 14px;
    font-size: 1rem;
  }
  .hero {
    padding: 44px 0 38px 0;
    border-radius: 0;
  }
  .hero h1 {
    font-size: 1.45rem;
    margin-bottom: 11px;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 14px;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
  }
  footer .container {
    gap: 18px;
    padding: 22px 8px 12px 8px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1.02rem;
  }
  .btn, .btn-primary {
    font-size: 0.99rem;
    padding: 9px 16px;
  }
  .feature-grid li {
    padding: 16px 10px 12px 10px;
  }
}

/* SPACING FIX FOR FLEX GAPS */
.section > *,
.about > .container > *,
.features > .container > *,
.cta > .container > *,
.services > .container > * {
  margin-bottom: 20px;
}
.section > *:last-child,
.about > .container > *:last-child,
.features > .container > *:last-child,
.cta > .container > *:last-child,
.services > .container > *:last-child {
  margin-bottom: 0;
}

/* COOKIE CONSENT BANNER --------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232A35;
  color: #E3E8EF;
  box-shadow: 0 -3px 24px rgba(24,51,78,0.24);
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  font-size: 1rem;
  gap: 16px;
  transition: transform 0.28s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 1 1 auto;
  color: #E3E8EF;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-banner .btn {
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-banner .btn-primary {
  background: #6DBFAF;
  color: #18334E;
  border: 1.5px solid #6DBFAF;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .btn-primary:hover {
  background: #227770;
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: #232A35;
  color: #6DBFAF;
  border: 1.5px solid #6DBFAF;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .btn-secondary:hover {
  background: #1B1F24;
  color: #6DBFAF;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 10px;
    font-size: 0.99rem;
    gap: 10px;
  }
  .cookie-banner__text {
    margin-right: 0;
    margin-bottom: 8px;
  }
  .cookie-banner__actions {
    gap: 6px;
  }
}

/* COOKIE MODAL ------------------ */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24,51,78, 0.90);
  z-index: 1120;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__dialog {
  background: #232A35;
  color: #F5F6FA;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(24,51,78,0.20);
  width: 94%;
  max-width: 414px;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  color: #6DBFAF;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}
.cookie-modal__close:hover {
  color: #227770;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #6DBFAF;
}
.cookie-category--essential label {
  color: #A3A8B1;
  font-style: italic;
}
.cookie-modal .btn {
  margin-top: 14px;
}

/* --------- MISCELLANEOUS UI --------- */
::-webkit-scrollbar {
  width: 10px;
  background: #161A20;
}
::-webkit-scrollbar-thumb {
  background: #232A35;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6DBFAF;
}

/* ANIMATIONS & TRANSITIONS */
.btn, a, .card, .feature-grid li, .mobile-menu, .mobile-menu-toggle, .cookie-modal, .cookie-banner {
  transition: all 0.2s cubic-bezier(.35,1,.45,1), box-shadow 0.18s;
}
.card, .feature-grid li, .testimonial-card {
  will-change: box-shadow, border, transform;
}
.mobile-menu {
  will-change: transform;
}

/* HIGHLIGHT - FOCUS STATES */
a:focus, button:focus, .btn:focus {
  outline: 2px solid #6DBFAF;
  outline-offset: 2px;
}

/* COMPACT: Hide unwanted overflows and fix any leaking layouts */
body {
  overflow-x: hidden;
}

/* LOADING STATE for JS enhancements (optionally for mobile nav/cookie overlay fades) */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}
