/* WissensWeiten Industrial Modern Style CSS - Mobile-First, Flexbox Only, Brand Colors, Burger Menu, Cookie Banner */

/* ---------- CSS RESET & BASE ---------- */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #13181C;  /* almost black with blue undertone */
  color: #F6F7FB;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
img { max-width: 100%; display: block; }
a { color: #23A6D5; text-decoration: none; transition: color 0.2s; word-break: break-word; }
a:hover, a:focus { color: #F6F7FB; }
ul, ol { list-style: none; }
section { width: 100%; }

/* ----------- BRAND COLORS & FONTS ----------- */
:root {
  --primary: #102B4C;
  --secondary: #23A6D5;
  --accent: #F6F7FB;
  --bg: #13181C;
  --metal: #5F6980; /* added metallic accent gray */
  --danger: #E84855;
  --success: #24C082;
  --shadow: rgba(16,43,76,0.12);
  --border-radius: 10px;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ---------- LAYOUT CONTAINERS ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ---------- FLEXBOX PATTERNS ---------- */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card { margin-bottom: 20px; position: relative; }
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #171E22;
  border: 1.5px solid var(--metal);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 8px var(--shadow);
  padding: 24px 22px;
  min-width: 220px;
  min-height: 180px;
  flex: 1 1 220px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.feature-item:hover,
.feature-item:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 4px 24px rgba(35,166,213,0.15);
  transform: translateY(-4px) scale(1.03);
}

/* ---------- HEADER / NAVIGATION ---------- */
header {
  background: #19202A;
  border-bottom: 2px solid var(--metal);
  width: 100%;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.main-nav > a img {
  width: 48px;
  height: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav ul li {
  display: flex;
  align-items: center;
}
.main-nav ul li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta-primary {
  font-family: var(--font-display);
  background: linear-gradient(90deg, var(--secondary) 80%, var(--metal) 100%);
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 30px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.21s;
  box-shadow: 0 2px 12px var(--shadow);
  outline: none;
  display: inline-block;
  position: relative;
}
.cta-primary:hover,
.cta-primary:focus {
  background: linear-gradient(90deg, var(--metal) 5%, var(--secondary) 100%);
  color: var(--accent);
  box-shadow: 0 6px 26px rgba(16,43,76,0.24);
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger icon */
.mobile-menu-toggle {
  background: #222B38;
  color: var(--accent);
  font-size: 2.1rem;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  position: relative;
  z-index: 120;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* MOBILE MENU ------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2001;
  background: #171E22d9; /* slightly transparent dark bg */
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.65,1.41,.67,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--danger);
  color: var(--accent);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin: 18px 24px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(16,43,76,0.24);
  transition: background 0.15s, color 0.15s, box-shadow 0.22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  align-items: flex-end;
  width: 100%;
  padding-right: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
  padding: 12px 0 12px 12px;
  border-radius: 6px 0 0 6px;
  background: none;
  transition: background 0.2s, color 0.2s;
  width: max-content;
  min-width: 180px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* HIDE DESKTOP NAV ON MOBILE, SHOW BURGER */
@media (max-width: 991px) {
  .main-nav ul,
  .main-nav .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }
}

/* ----------- TYPOGRAPHY ----------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.375rem; margin-bottom: 7px; }
h4 { font-size: 1.125rem; }

p, ul, li, blockquote, cite {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1rem;
}
strong { color: var(--secondary); font-weight: 700; }
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary);
}
cite { color: var(--primary); font-size: .98rem; font-weight: 500; padding-left: 12px; }

.price {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1em;
  margin-top: 4px;
  letter-spacing:0.01em;
}

/* -------- BUTTONS --------- */
button, .cta-primary {
  font-family: var(--font-display);
  outline: none;
}
button:active, .cta-primary:active {
  transform: scale(0.96);
}

/* ---------- CARDS & LISTS ---------- */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}
.services-list li {
  background: #1F2630;
  border: 1.5px solid var(--metal);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 10px var(--shadow);
  padding: 22px 22px 16px 22px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, border-color 0.18s, transform 0.18s;
}
.services-list li:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 32px rgba(35,166,213,0.11);
  transform: translateY(-4px) scale(1.03);
}
.services-list h3 {
  font-size: 1.18rem;
}

/* ------- TESTIMONIAL CARDS --------- */
.testimonial-card {
  background: var(--accent);
  color: #242A33;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px rgba(16,43,76, 0.10);
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 210px;
  max-width: 480px;
  border-left: 4px solid var(--secondary);
  border-top: 1px solid var(--metal);
}
.testimonial-card blockquote {
  color: #181B1F;
}
.testimonial-card cite {
  color: var(--primary);
  font-weight: bold;
}

/* -------- TEXT SECTIONS/INFO --------- */
.text-section {
  margin-bottom: 32px;
  background: transparent;
}

/* ------- FOOTER --------- */
footer {
  background: #181C22;
  color: var(--accent);
  border-top: 2px solid var(--metal);
  padding-top: 40px;
  padding-bottom: 16px;
  margin-top: 60px;
}
footer .container {
  padding-top: 0; /* override section default */
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  width: 54px;
  margin-bottom: 12px;
}
.footer-contact,
.footer-links,
.footer-location {
  min-width: 180px;
  font-size: 15px;
  color: var(--accent);
}
.footer-links ul {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links ul li a {
  color: var(--secondary);
  transition: color 0.18s;
}
.footer-links ul li a:hover,
.footer-links ul li a:focus {
  color: var(--accent);
  text-decoration: underline;
}
footer strong {
  color: var(--secondary);
  font-size: 1.09em;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #171E22;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 16px 18px 16px;
  box-shadow: 0 -2px 16px var(--shadow);
  font-family: var(--font-body);
  font-size: 1rem;
  border-top: 2px solid var(--metal);
  animation: cb-fadein 0.6s cubic-bezier(0.45,0.7,0.3,1);
}
@keyframes cb-fadein {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.c-banner-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  padding: 9px 18px;
  margin: 0 2px;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(35,166,213,0.10);
}
.c-banner-btn.secondary {
  background: var(--metal);
  color: var(--accent);
}
.c-banner-btn.settings {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  box-shadow: none;
}
.c-banner-btn:hover,
.c-banner-btn:focus {
  background: var(--primary);
  color: var(--accent);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(16,43,76,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cm-fadein 0.39s ease;
}
@keyframes cm-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #F6F7FB;
  color: #181E22;
  padding: 36px 24px 24px 24px;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 6px 40px rgba(16,43,76,0.24);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.38em;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--danger);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
}
.cookie-modal-close:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edeef7;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1rem;
}
.cookie-category-label {
  font-weight: bold;
  letter-spacing: 0.01em;
  color: var(--primary);
}
.category-toggle {
  width: 36px;
  height: 20px;
  background: #C2C7D1;
  border-radius: 12px;
  position: relative;
  border: none;
  transition: background 0.18s;
  outline: none;
  cursor: pointer;
}
.category-toggle[data-enabled="true"] {
  background: var(--secondary);
}
.category-toggle .slider {
  position: absolute;
  left: 3px; top: 3px; bottom: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.category-toggle[data-enabled="true"] .slider {
  left: 19px;
}
.cookie-category-item.disabled {
  opacity: 0.55;
  color: #757F93;
}

/* ----------- ICONS IN FEATURE ITEMS ------------ */
.feature-item img, .features-grid img {
  width: 38px;
  height: 38px;
  filter: grayscale(30%) brightness(1.2) drop-shadow(0 2px 6px #48505c55);
  margin-bottom: 2px;
}

/* ----------- RESPONSIVE LAYOUT ----------- */
@media (max-width: 991px) {
  .main-nav {
    padding: 12px 0;
    gap: 9px;
  }
  .footer-brand img { width: 42px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 27px;
    align-items: flex-start;
  }
  .section {
    padding: 28px 8px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { padding: 18px 0; }
  .content-wrapper {
    padding: 0 2px;
    gap: 24px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card { max-width: 100%; min-width: 0; }
  .services-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    min-width: unset;
    min-height: 130px;
    padding: 19px 9px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.08rem; }
}

@media (max-width: 540px) {
  .main-nav > a img, .footer-brand img {
    width: 35px;
    min-width: 30px;
  }
  .cookie-modal-content {
    padding: 18px 7px 14px 9px;
  }
  .cookie-banner { font-size: 0.97rem; padding: 14px 2px 9px 2px; }
}

/* ----------- UTILITIES ------------ */
.hr {
  border: 0;
  border-top: 1.5px solid var(--metal);
  margin: 32px 0;
}
.mt-3 { margin-top: 24px!important; }
.mb-2 { margin-bottom: 16px!important; }
.mt-4 { margin-top: 32px!important; }

/* ---------- MICRO-INTERACTIONS & TRANSITIONS ---------- */
section, .feature-item, .services-list li, .testimonial-card, .cta-primary, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.25s, border-color 0.19s, transform 0.18s, background 0.17s, color 0.17s;
}

/* ---------- OTHER ELEMENTS ---------- */
::-webkit-scrollbar {
  width: 8px;
  background: #151A20;
}
::-webkit-scrollbar-thumb {
  background: #27334C;
  border-radius: 6px;
}
::-webkit-selection, ::selection {
  background: #23A6D5;
  color: #102B4C;
}

/* ---------- HTML ELEMENTS DEFAULTS ---------- */
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #28354C; padding: 8px; }

code, pre {
  font-family: 'Roboto Mono', 'Menlo', 'Courier', monospace;
  background: #19202A;
  color: #61dafb;
  border-radius: 6px;
  padding: 3px 6px;
}

/* ---------- INDUSTRIAL FONT SUGGESTION ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* END WissensWeiten Industrial Modern STYLE CSS */