/* RESET & NORMALIZATION */
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, menu, 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, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #13191e;
  color: #e6eaee;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
b, strong {
  font-weight: 700;
}
a {
  color: #F2A922;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B2C4D6;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 10px;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #e6eaee;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.1rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

/* ====== BRAND & INDUSTRIAL MODERN VARIABLES ====== */
:root {
  --primary: #1f6eb3;
  --primary-dark: #101d27;
  --secondary: #B2C4D6;
  --secondary-dark: #607080;
  --accent: #F2A922;
  --bg-main: #13191e;
  --bg-section: #181f26;
  --bg-card: #202831;
  --bg-footer: #171c22;
  --metallic: #55606a;
  --txt-main: #e6eaee;
  --txt-light: #ffffff;
  --txt-dark: #161d23;
  --border-card: #243042;
  --shadow-card: 0 3px 16px rgba(20,29,38,0.14);
  --radius-main: 10px;
  --radius-btn: 6px;
  --font-display: 'Montserrat', 'Open Sans', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--txt-main);
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.03em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ================= HEADER, NAVIGATION =================== */
header {
  width: 100%;
  background: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(17, 23, 32, 0.12);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 12px;
}
header img {
  max-height: 42px;
  margin-right: 28px;
  filter: brightness(1.08);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: var(--txt-main);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 7px 4px;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--accent);
}
nav a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--txt-dark);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-btn);
  padding: 11px 30px 12px;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(34,35,45,0.10);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.17s, 
              transform 0.17s, box-shadow 0.22s;
  margin-left: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-btn:hover, .cta-btn:focus {
  background: #f9c13a;
  color: #23262a;
  transform: translateY(-2px) scale(1.037);
  box-shadow: 0 4px 14px rgba(242,169,34,0.18);
}

.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--accent);
  background: none;
  border: none;
  padding: 7px 14px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.18s;
  z-index: 50;
  display: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--bg-card);
}

/* ================= MOBILE MENU =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,33,40,0.98);
  display: flex!important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1002;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.78,.15,.25,1.05);
  box-shadow: 4px 0 14px rgba(0,0,0,0.29);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin-left: auto;
  margin-right: 14px;
  margin-top: 19px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.14s;
  z-index: 1003;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--bg-card);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 42px 0 0 38px;
}
.mobile-nav a {
  color: var(--txt-light);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border 0.16s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
}

/* ========= LAYOUT SECTION & SPACING PATTERNS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--txt-main);
  font-size: 1rem;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-main);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-visible {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 6px 22px rgba(38,58,82,0.16), var(--shadow-card);
  border-color: var(--accent);
}
.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: #f3f5f8;
  color: #18212b;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 11px rgba(35,44,53,0.10);
  margin-bottom: 20px;
  border-left: 5px solid var(--accent);
  font-size: 1.07rem;
  transition: box-shadow 0.18s, border-color 0.16s;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-family: var(--font-body);
  color: #232b33;
  margin-left: 10px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(146,153,162,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== Blog Posts ===== */
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-post-list li {
  background: var(--bg-card);
  padding: 18px 20px;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
}

/* ===== Footer ===== */
footer {
  background: var(--bg-footer);
  color: var(--secondary);
  padding: 48px 0 25px;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--secondary);
  font-size: .99rem;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.17s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--accent);
}
.copyright {
  font-size: 0.95rem;
  color: var(--secondary-dark);
  margin-top: 6px;
}

/* ====== Cookie Consent Banner ====== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--bg-footer);
  color: var(--txt-main);
  font-size: 1rem;
  z-index: 2000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 20px;
  flex-wrap: wrap;
  gap: 16px;
  transition: transform 0.25s, opacity 0.17s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-message {
  font-size: 1rem;
  color: var(--secondary);
  margin-right: 14px;
  flex: 1 1 220px;
  min-width: 180px;
  line-height: 1.48;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  padding: 8px 16px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(20,29,38,0.07);
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--txt-dark);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #f7c94e;
  color: #222;
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--txt-dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #dde4ea;
}
.cookie-btn.settings {
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: #191c1f;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  background: #181f26;
  color: var(--txt-main);
  z-index: 2500;
  border-radius: var(--radius-main);
  box-shadow: 0 9px 40px rgba(16,23,32,0.24);
  min-width: 350px;
  max-width: 94vw;
  padding: 34px 32px 24px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .23s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px; height: 18px;
}
.cookie-modal .category-desc {
  font-size: 0.95rem;
  color: var(--secondary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 22px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--accent);
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--bg-card);
}

/* ========== TYPOGRAPHY & ICONS ========== */
h1, h2, h3, h4 {
  text-shadow: 0 2px 6px rgba(15,25,32,0.05);
}
h2 {
  color: var(--accent);
  font-family: var(--font-display);
}
h1 {
  color: var(--secondary);
}
h1, h2 {
  letter-spacing: 1px;
}
.section ul,
.content-wrapper > ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0;
}
.section ul li,
.content-wrapper > ul li {
  display: flex;
  align-items: flex-start;
  font-size: 1.03rem;
  margin-bottom: 17px;
  gap: 11px;
}
.section ul li img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(0.6) brightness(1.15) contrast(1.2) drop-shadow(0px 3px 5px #242a33);
}
.section ul li span {
  color: var(--secondary);
  font-size: 0.99rem;
  font-weight: 400;
}
strong {
  color: var(--primary);
}

/* ======== RESPONSIVE LAYOUT, FLEX ADJUSTMENTS ======== */
@media (max-width: 1100px) {
  .container { max-width: 940px; }
  .content-grid { gap: 14px;
    justify-content: flex-start; }
}
@media (max-width: 930px) {
  .container { max-width: 98vw; }
  header .container { flex-wrap: wrap; }
  nav { gap: 15px; }
}
@media (max-width: 830px) {
  header .container { flex-direction: row; flex-wrap: wrap; padding-bottom: 10px; }
  nav { display: none; }
  .cta-btn { margin-left: 7px; font-size: 0.99rem; padding: 10px 21px; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  .section { padding: 26px 7px; }
  .content-wrapper { gap: 21px; }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container,
  .blog-post-list {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 20px; }
  .footer-links { gap: 13px; }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 11px;
    font-size: 0.98rem;
    padding: 15px 6px 14px;
  }
  .cookie-consent-banner .cookie-message { margin-right: 0; }
  .cookie-modal {
    padding: 23px 11px 16px 18px;
    min-width: 210px;
  }
}
@media (max-width: 493px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .section, .blog-post-list li, .testimonial-card, .card {
    padding-left: 4px; padding-right: 4px;
  }
  .cta-btn { width: 100%; padding: 11px 0; font-size: 1rem; }
  footer .container { padding: 0 5px; }
}

/* ==== Animations & Micro-interactions ==== */
.cta-btn, .cookie-btn {
  will-change: transform, box-shadow;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card, .blog-post-list li, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .blog-post-list li:hover {
  box-shadow: 0 6px 22px rgba(38,58,82,0.13);
  z-index: 2;
}
.testimonial-card:active {
  box-shadow: 0 2px 10px rgba(37,42,48,0.14);
}
.section {
  animation: fadeInSection 0.72s cubic-bezier(.6,.06,.15,1.05) 0.05s both;
}
@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ====== Accessibility & UX ======= */
a:focus { outline: 2px dashed var(--accent); outline-offset: 2px; }
button:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cta-btn:focus { box-shadow: 0 0 0 3px rgba(242,169,34,0.23); }

/* ====== Utilities ======= */
.hide { display: none !important; }
.visible { display: block !important; }

/* ===== Special: Thank You Page Centering ===== */
main .content-wrapper[style*="text-align:center"] {
  align-items: center;
  justify-content: center;
}
main .content-wrapper[style*="text-align:center"] img {
  margin-bottom: 28px;
}
.testimonial-card p {
  color: white;
}
/* ===== Industrial Modern Details ===== */
.card, .testimonial-card, .blog-post-list li {
  border: 1px solid var(--metallic);
  background-color: #ffffff49 ;
  box-shadow: 0 2px 13px 2px rgba(34, 38, 44, 0.06), var(--shadow-card);
}
.card h3, .blog-post-list h3 { font-family: var(--font-display); color: var(--accent); }
.card span { font-size: 0.99rem; color: var(--secondary-dark); font-weight: 400; }

/* ========== FORMS, FAQ, OTHERS ========== */
input, textarea, select {
  background: var(--bg-section);
  border: 1.3px solid var(--secondary-dark);
  color: var(--txt-main);
  padding: 9px 13px;
  font-size: 1rem;
  border-radius: 4px;
  font-family: var(--font-body);
  width: 100%;
  margin-bottom: 17px;
  transition: border 0.13s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* FAQ on kontakt.html */
.section ul li strong { color: var(--accent); }
/* Pricing highlights inside offer lists */
.card h2 span,
.section ul li h3 span, .section ul li h2 span {
  color: var(--secondary);
  font-weight: 400;
  font-size: 0.97em;
  margin-left: 8px;
}
section {
  padding: 15px;
}
/* ========== END CSS ========== */
