/* 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, 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;
  scroll-behavior: smooth;
}
body {
  font-family: 'Arial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #F0FAF7;
  background: #152228;
  line-height: 1.6;
  min-height: 100vh;
  background: #1F2931 url('../assets/bg-texture-industrial.png') repeat;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #65B3C5;
  text-decoration: underline;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #F0FAF7;
  text-decoration: none;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  list-style: none;
}

/* TYPOGRAPHY ================================================ */
h1, h2, h3, h4 {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  color: #F0FAF7;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}
p, li, span, label {
  font-family: 'Arial', 'Segoe UI', sans-serif;
  color: #E1ECF2;
  font-size: 1rem;
}
p {
  margin-bottom: 12px;
}
.text-section ul {
  list-style: disc inside;
  padding-left: 20px;
}
.text-section ul li {
  margin-bottom: 8px;
}

/* FLEX LAYOUTS ================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.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;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232E36;
  border-radius: 10px;
  box-shadow: 0 2px 14px 0 rgba(30,40,54,0.18);
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 240px;
  position: relative;
  transition: box-shadow 0.25s cubic-bezier(.4,0,.2,1), transform 0.21s cubic-bezier(.4,0,.2,1);
  border: 1px solid #384554;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px 0 rgba(35,122,159,0.14), 0 2px 24px 0 rgba(30,40,54,0.20);
  transform: translateY(-2px) scale(1.012);
  border-color: #65B3C5;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F0FAF7;
  color: #192632;
  border-radius: 10px;
  box-shadow: 0 4px 22px 0 rgba(62,73,85,0.17);
  border-left: 6px solid #194D61;
}

/* SPACING & SECTIONS ================================================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:not(:last-child) {
  border-bottom: 1px solid #233039;
}
section {
  background: none;
}
main > section {
  margin-bottom: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
}

/* HEADER / NAVIGATION=============================================== */
header {
  background: #212E35;
  border-bottom: 2px solid #384554;
  box-shadow: 0 2px 12px rgba(27,38,46,0.13);
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 76px;
}
header a img {
  height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  color: #F0FAF7;
  font-family: 'Segoe UI','Arial',sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 6px 0;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.22s;
}
nav a:hover, nav a:focus {
  color: #65B3C5;
  border-bottom: 2px solid #65B3C5;
}
nav a.cta {
  background: linear-gradient(90deg,#65B3C5 65%,#41a7c7 100%);
  color: #192632;
  font-weight: 700;
  border-radius: 5px;
  padding: 8px 21px;
  margin-left: 16px;
  border-bottom: none;
  text-decoration: none;
  box-shadow: 0 1px 12px 0 rgba(32,80,88,0.10);
  transition: background 0.22s, color 0.18s;
}
nav a.cta:hover, nav a.cta:focus {
  background: #F0FAF7;
  color: #194D61;
}

/* MOBILE MENU ================================================== */
.mobile-menu-toggle {
  display: none;
  background: #232E36;
  color: #65B3C5;
  font-size: 2.1rem;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.18s;
  margin-left: auto;
}
.mobile-menu-toggle:hover {
  background: #323E48;
  color: #F0FAF7;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #1C262F;
  z-index: 1200;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.25s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #65B3C5;
  font-size: 2.5rem;
  align-self: flex-end;
  margin: 26px 24px 5px 0;
  cursor: pointer;
  z-index: 10;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #F0FAF7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin-left: 36px;
  margin-top: 50px;
}
.mobile-nav a {
  color: #F0FAF7;
  font-size: 1.23rem;
  font-family: 'Segoe UI','Arial',sans-serif;
  text-decoration: none;
  font-weight: 600;
  background: none;
  padding: 0 0 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-color .2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #65B3C5;
  border-bottom: 2px solid #65B3C5;
}

/* HERO & GENERAL CTAS ================================================ */
.cta, .cta-small {
  display: inline-block;
  font-family: 'Segoe UI','Arial',sans-serif;
  background: #194D61;
  color: #F0FAF7;
  border-radius: 7px;
  padding: 11px 30px;
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 1px 18px 0 rgba(32,80,88,0.10);
  cursor: pointer;
  margin-top: 7px;
  text-decoration: none;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s, transform .14s;
}
.cta:hover, .cta:focus {
  background: #65B3C5;
  color: #192632;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 2px 20px 0 rgba(101,179,197,0.12);
}
.cta-small {
  font-size: 0.98rem;
  padding: 7px 18px;
  background: #232E36;
  color: #65B3C5;
  margin-top: 0;
  border: 1.7px solid #65B3C5;
  transition: background 0.18s, border-color .16s, color .18s;
}
.cta-small:hover, .cta-small:focus {
  background: #65B3C5;
  color: #192632;
  border-color: #F0FAF7;
}
main .cta {
  margin-top: 16px;
}

/* INDUSTRIAL MODERN BUTTONS */
button, input[type="submit"] {
  font-family: 'Segoe UI','Arial',sans-serif;
  font-size: 1rem;
  background: #232E36;
  color: #F0FAF7;
  border: 1.7px solid #384554;
  border-radius: 7px;
  padding: 10px 26px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.20s, color 0.15s, border-color 0.13s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #65B3C5;
  color: #152228;
  border-color: #65B3C5;
}

/* BLOG FILTER */
.blog-filter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.blog-filter a {
  color: #65B3C5;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  transition: color .18s, text-decoration .1s;
  padding: 3px 6px;
  border-radius: 4px;
}
.blog-filter a:hover, .blog-filter a:focus {
  background: #1F3344;
  color: #F0FAF7;
  text-decoration: none;
}

/* ICONS / LISTS ================================================ */
ul li img, ol li img {
  margin-right: 10px;
  height: 26px;
  vertical-align: middle;
}
ul li, ol li {
  margin-bottom: 14px;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* SPECIAL FLEXBOX LAYOUTS */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  color: #AFC5D1;
}
.footer-contact img {
  height: 16px;
  margin-right: 7px;
}
.footer-legal {
  margin-top: 24px;
  font-size: 0.90rem;
  color: #7C96A8;
}

/* FOOTER ========================== */
footer {
  background: #182129;
  padding: 42px 0 20px 0;
  border-top: 2px solid #384554;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  gap: 19px;
  margin: 18px 0 7px 0;
}
footer nav a {
  color: #AFC5D1;
  font-size: 1rem;
  padding: 6px 0;
  text-decoration: underline dotted;
  border-bottom: none;
  transition: color .18s, text-decoration .1s;
}
footer nav a:hover, footer nav a:focus {
  color: #65B3C5;
  text-decoration: underline solid;
}
footer a img {
  height: 42px;
}

/* UTILITY CLASSES */
.text-center {
  text-align: center!important;
}
.d-flex {
  display: flex !important;
}
.align-center {
  align-items: center !important;
}

/* COOKIE CONSENT BANNER =============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2005;
  background: #232E36;
  color: #F0FAF7;
  width: 100vw;
  box-shadow: 0 -2px 24px rgba(24,33,41,0.10);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 18px;
  gap: 32px;
  transition: transform .32s cubic-bezier(.77,0,.18,1), opacity .29s;
  font-size: 1.03rem;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.cookie-banner__button,
.cookie-banner__button[aria-pressed] {
  background: #65B3C5;
  color: #192632;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Segoe UI','Arial',sans-serif;
  padding: 8px 20px;
  font-size: 1rem;
  transition: background .17s, color .15s;
  cursor: pointer;
  margin-right: 3px;
}
.cookie-banner__button.cookie-settings {
  background: none;
  color: #65B3C5;
  border: 1.2px solid #65B3C5;
}
.cookie-banner__button.cookie-settings:hover {
  background: #1F3344;
  color: #F0FAF7;
}
.cookie-banner__button:hover {
  background: #F0FAF7;
  color: #194D61;
}

/* COOKIE CONSENT MODAL =============================== */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(30,40,54,0.87);
  z-index: 2200;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__window {
  background: #232E36;
  border-radius: 14px;
  box-shadow: 0 8px 51px rgba(40,63,77,0.24);
  padding: 38px 32px 27px 32px;
  min-width: 322px;
  max-width: 98vw;
  color: #F0FAF7;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  margin: 12px 6px;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: none;
  background: none;
  font-size: 2.15rem;
  color: #65B3C5;
  cursor: pointer;
}
.cookie-modal__close:hover {
  color: #F0FAF7;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-pref-toggle {
  width: 38px;
  height: 22px;
  background: #384554;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background .19s;
  flex-shrink: 0;
}
.cookie-pref-toggle[aria-checked="true"] {
  background: #65B3C5;
}
.cookie-pref-toggle::before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #F0FAF7;
  transition: left .17s;
}
.cookie-pref-toggle[aria-checked="true"]::before {
  left: 18px;
}
.cookie-pref-toggle[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
}

/* ========== ADAPTIVE, RESPONSIVE BREAKPOINTS ===================== */
@media (max-width: 1135px) {
  .container { max-width: 960px; }
}
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
  nav { gap: 10px; }
  header .container { gap: 12px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.53rem; }
  .section, section { padding: 32px 6px; }
}
@media (max-width: 768px) {
  .container { padding: 0 7px; }
  header .container { flex-direction: row; gap: 5px; }
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .card-container, .card-grid, .content-grid { gap: 16px; }
  .content-wrapper { gap: 14px; }
  .testimonial-card { gap: 9px; padding: 13px; }
  .section, section { margin-bottom: 40px; padding: 20px 2px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .feature-item { gap: 8px; }
  main .cta, .cta, .cta-small, button, input[type=submit] {
    width: 100%;
    padding: 12px 0;
    font-size: 1.08rem;
    text-align: center;
  }
  footer .container { padding: 0 5px; gap: 14px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.21rem; }
  .container { max-width: 99vw; }
  .cookie-modal__window { padding: 18px 5px 11px 6px; }
}

/* ========== INDUSTRIAL ACCENT STYLES ================== */
h1, h2, h3, h4 {
  text-shadow: 0 1px 0 #13212B, 0 2px 2px #23303922;
}
section h2 {
  border-left: 5px solid #65B3C5;
  padding-left: 13px;
  background: linear-gradient(to right, #192632 60%, #232E36 100%);
  border-radius: 6px;
}
div.card, li, .feature-item, .card {
  border-right: 3px solid #194D61;
}
ul li img, .feature-item img, .testimonial-card img {
  filter: grayscale(30%) brightness(1.19) contrast(1.1) drop-shadow(0 1px 2px #194D6122);
}

/* ========== TESTIMONIALS VISIBILITY (DARK ON LIGHT) ======== */
.testimonial-card {
  color: #1F2931;
  background: #F0FAF7;
  border-left: 6px solid #194D61;
  box-shadow: 0 4px 22px rgba(62,73,85,0.14);
}
.testimonial-card strong {
  color: #194D61;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #334753;
}

/* ========== CARD ADJUSTMENTS ========== */
ul > li, ol > li {
  background: #232E36;
  border-radius: 12px;
  box-shadow: 0 1px 16px #15222812;
  padding: 18px 14px;
  border-left: 4px solid #384554;
}
ul > li:hover, ol > li:hover {
  border-left: 4px solid #65B3C5;
  box-shadow: 0 2px 24px #41a7c744;
}

/* ========== FORMS (in scope for kontakt.html) ========== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1.4px solid #384554;
  border-radius: 6px;
  background: #232E36;
  color: #F0FAF7;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color .16s, box-shadow .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #65B3C5;
  box-shadow: 0 0 0 2px #65B3C566;
  outline: none;
}
label {
  display: block;
  margin-bottom: 7px;
  color: #AFC5D1;
  font-size: 1rem;
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.card, .feature-item, .testimonial-card, section, footer, header, .cookie-banner, .cookie-modal__window {
  transition: box-shadow .20s, background .18s, color .16s, transform .14s;
}

/* ACCESSIBILITY ========================== */
:focus-visible {
  outline: 2.5px solid #65B3C5;
  outline-offset: 2px;
}

/* ========== HIDE SCROLLBAR FOR MOBILE MENU ========= */
.mobile-menu {
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* ===================================
   END CSS
====================================== */
