/* 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #191919;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}
a {
  color: #23436C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #191919;
  outline: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #181818;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -2px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.1rem;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  margin-bottom: 1.25em;
}
strong {
  font-weight: bold;
}

/* CONTAINER & SECTION LAYOUTS */
.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEXBOX LAYOUT PATTERNS */
.card-container,
.card-grid,
.feature-grid,
.service-grid,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(34, 67, 108, 0.08);
  padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1.5px solid #EDEDED;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 30px 0 rgba(34,67,108,0.16);
  border-color: #23436C;
}
.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: #F7F7F8;
  color: #191919;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(30, 30, 30, 0.04);
  padding: 24px 28px;
  margin-bottom: 24px;
  font-size: 1.1rem;
  border-left: 4px solid #23436C;
}
.testimonial-author {
  font-size: 1em;
  color: #23436C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(35, 67, 108, 0.06);
  padding: 24px 18px;
  min-width: 220px;
  flex-basis: calc(25% - 24px);
  border: 1px solid #EDEDED;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 30px 0 rgba(35, 67, 108, 0.12);
  border-color: #23436C;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(56, 56, 56, 0.06);
  padding: 24px 18px;
  min-width: 220px;
  flex-basis: calc(25% - 24px);
  border: 1px solid #EDEDED;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-item img {
  width: 44px;
  height: 44px;
}
.service-item:hover, .service-item:focus {
  box-shadow: 0 6px 24px 0 rgba(35, 67, 108, 0.11);
  border-color: #23436C;
}
.vehicle-spec {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  font-size: 1rem;
  color: #222;
}
.vehicle-spec img {
  width: 36px;
  height: 36px;
}
.certifications {
  font-size: 1rem;
  color: #646464;
  margin-top: 16px;
  margin-bottom: 24px;
}

/* HERO BANNER */
.hero {
  padding: 60px 0 50px 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}
.hero h1 {
  color: #191919;
  font-size: 2.8rem;
  font-weight: 800;
}
.hero p {
  color: #232323;
  font-size: 1.15rem;
}
.hero .cta {
  margin-top: 18px;
}

/* BUTTONS & CTA */
.cta, .btn, button, input[type="submit"] {
  display: inline-block;
  background: #23436C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 32px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(35,67,108,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, outline 0.14s;
  outline: none;
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #191919;
  color: #F2A944;
  box-shadow: 0 8px 32px 0 rgba(35,67,108,0.15);
  outline: 2px solid #191919;
  outline-offset: 2px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E3E3E3;
  box-shadow: 0 2px 8px 0 rgba(20,20,20,0.02);
  position: relative;
  z-index: 22;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #23436C;
  font-weight: 500;
  padding: 10px 10px;
  transition: color 0.14s, background 0.14s;
  border-radius: 6px;
}
header nav a.cta {
  background: #191919;
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
  margin-left: 12px;
  border-radius: 30px;
  box-shadow: 0 2px 6px 0 rgba(25,25,25,0.09);
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  color: #F2A944;
  background: #1f2327;
}
header nav a.cta:hover,header nav a.cta:focus {
  background: #F2A944;
  color: #191919;
}
header img {
  width: 156px;
  height: auto;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #191919;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  padding: 3px 16px 6px 16px;
  cursor: pointer;
  align-self: center;
  margin-left: 20px;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F2A944;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #191919ee;
  display: flex;
  flex-direction: column;
  z-index: 4000;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.4,0,0.2,1), opacity 0.19s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #fff;
  color: #191919;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 18px 18px 6px 0px;
  border-radius: 7px;
  cursor: pointer;
  padding: 3px 22px 7px 18px;
  z-index: 4010;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 1px 6px 0 rgba(25,25,25,0.1);
}
.mobile-menu-close:focus {
  outline: 2px solid #F2A944;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 30px 0 0 36px;
  font-size: 1.3rem;
}
.mobile-nav a {
  color: #fff;
  background: none;
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 7px;
  width: 85vw;
  transition: color 0.17s, background 0.17s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F2A944;
  background: #282828;
  outline: none;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 980px) {
  header .container nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 980px) {
  header .container {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: unset;
    gap: 8px;
  }
  header img {
    width: 135px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.11rem; }
  .hero { padding: 38px 0 30px 0; min-height: 180px; }
  .section, section { padding: 22px 0; }
  .container { padding: 0 10px; }
  .content-wrapper { gap: 18px; }
  .card-container,
  .card-grid,
  .feature-grid,
  .service-grid,
  .feature-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .service-item {
    min-width: unset;
    width: 100%;
    flex-basis: 100%;
  }
  .testimonial-card {
    padding: 18px 10px;
    font-size: 1rem;
  }
  .vehicle-spec {
    padding: 10px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* FOOTER */
footer {
  width: 100%;
  background: #181B1F;
  color: #fff;
  padding: 0 0 0 0;
  font-size: 0.98rem;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 0 0 0;
}
footer .content-wrapper > div {
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 220px;
}
footer img {
  width: 110px;
  margin-bottom: 9px;
}
footer h4 {
  color: #F2A944;
  font-size: 1.1rem;
  margin-bottom: 7px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  margin-right: 7px;
  margin-left: 1px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #F2A944;
}
footer p, footer span {
  color: #EDECEC;
  font-size: 0.99em;
}
footer .content-wrapper > div:last-child {
  flex-basis: 100%;
  text-align: center;
  margin-top: 14px;
}

@media (max-width: 880px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .content-wrapper > div {
    min-width: unset;
    width: 100%;
  }
}

/* MAP EMBED */
.map-embed {
  background: #EDEDED;
  color: #222;
  padding: 16px 18px;
  border-radius: 8px;
  margin-top: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* TABLES, QUOTES ETC. */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th, td {
  border: 1px solid #dfdfdf;
  padding: 0.6em 1em;
  font-size: 1em;
}
blockquote {
  border-left: 4px solid #23436C;
  padding: 18px 24px;
  font-style: italic;
  background: #f7f9fa;
  color: #191919;
  border-radius: 5px;
  margin: 22px 0;
}

/* FORM ELEMENTS (for kontakt.html) */
input[type="text"], input[type="email"], input[type="number"], textarea {
  width: 100%;
  border: 1px solid #bbb;
  border-radius: 6px;
  padding: 10px 10px;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  background: #fff;
  color: #232323;
  transition: border 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #23436C;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 3px;
  color: #23436C;
  font-size: 0.98em;
  font-weight: 600;
}

/* SPACING TUNING */
.card, .feature-item, .service-item {
  margin-bottom: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding-bottom: 0;
}
.content-wrapper:not(:last-child) {
  margin-bottom: 24px;
}

/* VISUAL EFFECTS & MICROINTERACTIONS */
.card, .feature-item, .service-item, .cta {
  transition-property: box-shadow, border-color, background, color, outline;
  transition-duration: 0.18s, 0.18s, 0.17s, 0.17s, 0.13s;
  transition-timing-function: cubic-bezier(0.4,0,0.2,1);
}

/* --------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #191919;
  color: #fff;
  padding: 20px 10px 20px 16px;
  font-size: 1rem;
  z-index: 5100;
  box-shadow: 0 -6px 22px 0 rgba(35,67,108,.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.26s, transform 0.2s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(64px);
}
.cookie-banner-message {
  max-width: 670px;
  font-size: 1.05rem;
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-banner .btn-cookie {
  background: #23436C;
  color: #fff;
  border-radius: 30px;
  padding: 9px 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, outline 0.13s;
  margin-right: 3px;
}
.cookie-banner .btn-cookie.cookie-settings {
  background: #fff;
  color: #23436C;
  border: 1px solid #23436C;
}
.cookie-banner .btn-cookie:hover, 
.cookie-banner .btn-cookie:focus {
  background: #F2A944;
  color: #191919;
  outline: 2px solid #F2A944;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 6px 20px 6px;
  }
  .cookie-banner-actions {
    gap: 6px;
  }
}

/* -------- COOKIE SETTINGS MODAL ---------- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,30,30,0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #191919;
  border-radius: 15px;
  box-shadow: 0 6px 40px 0 rgba(35,67,108,.18);
  padding: 42px 23px 26px 23px;
  min-width: 340px;
  max-width: 96vw;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  text-align: left;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.38rem;
  color: #23436C;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category label {
  margin-bottom: 0;
  font-size: 1.03em;
}
.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
}
.cookie-modal .btn-cookie {
  padding: 8px 18px;
}
.cookie-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  color: #23436C;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.1s, color 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EFF5FA;
  color: #191919;
}

/* TOGGLES/SWITCHES (for cookies) */
.switch {
  position: relative;
  display: inline-block;
  width: 39px;
  height: 22px;
  margin-right: 4px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #bbb;
  border-radius: 33px;
  transition: background 0.18s;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 2px 4px 0 rgba(45,45,45,0.08);
}
.switch input:checked + .switch-slider {
  background: #23436C;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(14px);
}
.switch input:disabled + .switch-slider,
.switch input[aria-disabled="true"] + .switch-slider {
  background: #cfcfcf;
  cursor: not-allowed;
}

/* ANIMATION FOR HERO CTA/BUTTONS */
.cta {
  will-change: background, color;
  animation: btnPopIn 0.7s ease 0s 1 normal backwards;
}
@keyframes btnPopIn {
  from { opacity: 0.3; transform: scale(0.92); }
  to   { opacity: 1;   transform: scale(1);    }
}

/* FANCY HR */
hr {
  border: 0;
  border-top: 1.5px solid #E3E3E3;
  margin: 38px 0;
}

/* ACCENT COLOR FOR MONOCHROME-SOPHISTICATED */
::-webkit-selection { background: #23436C; color: #fff; }
::selection { background: #23436C; color: #fff; }

/* GENERAL UTILITIES */
.hide { display: none !important; }
.center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-muted { color: #747474; }

/* REMOVE FOCUS OUTLINE WHERE UX IS CONFUSING, SHOW ON :FOCUS-VISIBLE */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #F2A944; outline-offset: 2px; }

/* PRINT STYLES */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
