/* ===========================
   Pristine Trail Autoservice
   Industrial Modern CSS Theme
   =========================== */

/* 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, 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;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #111820;
  color: #E6E6E6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #111820;
}
ul, ol { margin-left: 32px; }
img { max-width: 100%; display: block; }
a { color: #FFAF19; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FFF3E0; outline: none; }
strong { font-weight: bold; }

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Roboto:wght@400;500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #E6E6E6;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.125;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
p, ul, ol, li, .feature-price, .testimonial-meta { font-size: 1rem; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

body {
  background: #111820;
  color: #E6E6E6;
}


/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #182933;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(20,50,71,0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}


/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #161f26;
  padding: 0 20px;
  min-height: 66px;
  border-bottom: 2px solid #31343a;
  position: relative;
  z-index: 102;
}
.main-nav a {
  color: #E6E6E6;
  background: none;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .5px;
  padding: 10px 14px;
  border-radius: 4px;
  transition: background 0.15s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #1d2730;
  color: #FFAF19;
}
.main-nav .cta-button {
  margin-left: auto;
  background: #FFAF19;
  color: #143247;
  font-weight: bold;
  border-radius: 8px;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255,175,25,0.15);
  border: none;
}
.main-nav .cta-button:hover, .main-nav .cta-button:focus {
  background: #ffd67a;
  color: #143247;
  box-shadow: 0 2px 14px rgba(255,175,25,0.38);
}
.main-nav img {
  height: 36px;
  margin-right: 10px;
}

/* HIDE MAIN NAV ON MOBILE */
@media (max-width: 1020px) {
  .main-nav { display: none; }
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 203;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #FFAF19;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s;
  box-shadow: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #252d34;
}
@media (min-width: 1021px) {
  .mobile-menu-toggle { display: none; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: 100vw;
  height: 100vh;
  background: #161f26;
  box-shadow: 1px 0 14px rgba(20,50,71,0.22);
  z-index: 202;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: transparent;
  color: #FFAF19;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 4px;
  padding: 8px 14px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #222A31;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  color: #E6E6E6;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 12px 8px;
  border-radius: 4px;
  width: 94%;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222A31;
  color: #FFAF19;
}
@media (min-width: 1021px) {
  .mobile-menu { display: none; }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(97deg,#143247 70%, #182933 100%);
  color: #FFF;
  padding: 56px 0 36px 0;
  border-bottom: 2px solid #252d34;
  box-shadow: 0 4px 24px rgba(20,50,71,0.06);
}
.hero .container { align-items: flex-start; }
.hero .content-wrapper {
  gap: 18px;
  max-width: 760px;
}
.hero h1 {
  color: #FFAF19;
  text-shadow: 0 2px 10px rgba(20,50,71,.12);
  font-size: 2.6rem;
}
.hero p {
  color: #FAFAFA;
  max-width: 540px;
  font-size: 1.15rem;
}
.hero .cta-button {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 22px 0; }
  .hero .container { padding: 0 10px; }
}

/* GENERIC CTA BUTTON */
.cta-button {
  background: #FFAF19;
  border: none;
  color: #143247;
  padding: 12px 32px;
  border-radius: 8px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(255,175,25,0.16);
  transition: background 0.18s, color 0.14s, box-shadow 0.2s, transform 0.12s;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 4px;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #ffd67a;
  color: #143247;
  box-shadow: 0 3px 18px 2px rgba(255,175,25,0.32);
  text-decoration: none;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* FEATURE GRID */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 6px;
}
.feature-item {
  background: #181E23;
  box-shadow: 0 2.5px 18px rgba(43,54,70,.13);
  border-radius: 10px;
  padding: 22px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 270px;
  min-width: 230px;
  min-height: 240px;
  transition: box-shadow 0.18s, border 0.18s, background 0.13s;
  border: 1.5px solid #222A31;
  position: relative;
}
.feature-item img {
  height: 40px;
  width: 40px;
  filter: grayscale(.2) brightness(1.28) drop-shadow(0 1px 3px #111);
}
.feature-item:hover {
  box-shadow: 0 6px 34px 2px rgba(255,175,25,.08), 0 2px 18px rgba(44,54,74,.14);
  border: 1.5px solid #FFAF19;
  background: #1e2730;
}
.feature-item h3 { color: #FFAF19; margin-bottom: 0; font-size:1.12rem; }
.feature-price {
  background: #212d35;
  color: #FFAF19;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  padding: 3.5px 12px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .7px;
  margin: 6px 0 0 0;
  align-self: flex-end;
}

@media (max-width: 1080px) {
  .features-grid { gap: 18px; }
  .feature-item { min-width: 210px; padding:18px 10px; }
}
@media (max-width: 832px) {
  .features-grid { gap: 14px; }
  .feature-item { min-width: 170px; padding:14px 6px; }
}
@media (max-width: 768px) {
  .features-grid { flex-direction: column; gap:20px; }
  .feature-item { min-width: unset; width:100%; }
}

/* CARD CONTAINER FOR SLIDERS OR LISTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #161f26;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px rgba(20,50,71,.11);
  padding: 24px;
  min-width: 250px;
  flex: 1 1 320px;
}
@media (max-width: 650px) {
  .card-container { flex-direction: column; gap:20px; }
  .card { min-width: unset; width: 100%; }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
@media (max-width: 900px) {
  .content-grid { gap:12px; }
}
@media (max-width: 700px) {
  .content-grid { flex-direction: column; gap:20px; }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap:20px; }
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F6F6F6;
  color: #143247;
  padding: 20px;
  box-shadow: 0 1px 10px rgba(20,48,71,.05);
  border-radius: 10px;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  border-left: 6px solid #FFAF19;
  transition: box-shadow 0.18s, transform 0.16s;
  font-size: 1.06rem;
  position: relative;
}
.testimonial-card p {
  color: #143247;
  margin-bottom: 2px;
  font-size: 1.01rem;
}
.testimonial-card .testimonial-meta {
  color: #505862;
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 5px 16px 2px rgba(20,50,71,.10), 0 2px 14px rgba(44,54,76,.14);
  transform: translateY(-3px) scale(1.03);
}

@media (max-width: 900px) {
  .testimonial-cards { flex-direction: column; gap:20px; }
  .testimonial-card { max-width: 100%; }
}

.rating-overview {
  color: #FFAF19;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  margin-top: 22px;
  font-weight: 600;
}

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .text-section ol {
  margin-left: 28px;
  margin-bottom: 10px;
}
.text-section p {
  color: #E6E6E6;
}
.text-section a {
  word-break: break-all;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.contact-details .text-section {
  flex: 2 1 280px;
}
.contact-details .cta {
  flex: 1 1 130px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 768px) {
  .contact-details {
    flex-direction: column;
    gap:18px;
  }
  .contact-details .cta {
    width:100%; align-items: flex-start;
  }
}

/* FOOTER */
footer {
  background: #161f26;
  padding: 36px 0 18px 0;
  color: #E6E6E6;
  border-top: 2px solid #222c33;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 102px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: #E6E6E6;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .5px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.16s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFAF19;
  background: #191c21;
}
.footer-meta {
  margin-top: 20px;
  font-size: 0.94rem;
  color: #606872;
  letter-spacing: 1px;
}

/* MODALS, BANNERS, ANIMATIONS */

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #212d35;
  color: #E6E6E6;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 20px rgba(20,50,71, 0.21);
  padding: 20px 10px 18px 10px;
  gap: 22px;
  animation: cookieSlideIn 0.58s cubic-bezier(.57,.01,.45,1.25);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  flex: 3 1 320px;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  background: #FFAF19;
  color: #143247;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 2px;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  cursor: pointer;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #ffd67a;
  color: #143247;
  box-shadow: 0 2px 10px rgba(255,175,25,0.14);
  outline: none;
}
.cookie-btn.cookie-reject {
  background: #C13E3E;
  color: #fff;
}
.cookie-btn.cookie-reject:focus, .cookie-btn.cookie-reject:hover {
  background: #FF5050;
}
.cookie-btn.cookie-settings {
  background: #232b2f;
  color: #E6E6E6;
  border: 1.4px solid #606872;
}
.cookie-btn.cookie-settings:focus, .cookie-btn.cookie-settings:hover {
  background: #30393f;
  color: #FFAF19;
  border-color: #FFAF19;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cookie-banner p { margin-right: 0; }
  .cookie-banner .cookie-actions { width: 100%; justify-content: flex-start; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 5550;
  background: rgba(20,48,71,0.77);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #212d35;
  color: #E6E6E6;
  border-radius: 16px;
  max-width: 420px;
  width: 92vw;
  padding: 36px 24px 24px 24px;
  min-height: 320px;
  box-shadow: 0 6px 44px 1px rgba(20,50,71,.27);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeModalIn 0.44s cubic-bezier(.39,.89,.45,1.22);
}
@keyframes fadeModalIn {
  from { transform: scale(.97); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #FFAF19;
}
.cookie-modal .cookie-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 12px 0 16px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8.5px 0;
  border-bottom: 1px solid #505862;
  color: #FFC;
  font-size: 1.04rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFAF19;
  margin-right: 2px;
  width: 18px; height: 18px;
}
.cookie-category.essential {
  color: #a5e4ad;
  font-weight: 600;
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}

.cookie-modal .cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 18px;
}

.cookie-modal-close {
  position: absolute;
  top: 17px; right: 22px;
  background: transparent;
  color: #FFAF19;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #232b2f;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 18px 4vw; }
}

/* CARDS, SECTIONS, VISUAL ELEMENTS */
.about-intro {
  background: #182933;
  box-shadow: 0 3px 20px rgba(20,50,71,.07);
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.team-profiles {
  background: #202933;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 2px 12px 2px rgba(70,100,130,0.07);
  margin-top: 18px;
}

.confirmation {
  background: #161f26;
  color: #FFAF19;
  min-height: 220px;
  border-radius: 12px;
  margin: 36px 0 18px 0;
  box-shadow: 0 8px 34px 4px rgba(20,50,71, .06);
  display: flex;
  align-items: center;
}

/* OL & UL LISTS DESIGN */
ul, ol {
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 2px;
}
ul li::marker {
  color: #FFAF19;
}
ol li::marker {
  color: #FFAF19;
  font-weight: 600;
}

/* DIRECTIONS SECTION (Kontakt) */
.directions {
  background: #182933;
  border-radius: 12px;
  margin: 36px 0 24px 0;
  padding: 32px 20px;
  box-shadow: 0 2px 14px rgba(20,50,71,0.05);
}

/* ADDITIONAL SPACING BETWEEN CARDS/SECTIONS */
section, .section {
  margin-bottom: 60px;
}
@media (max-width: 700px) {
  section, .section { margin-bottom: 35px; }
}

/* VISUAL MICRO-INTERACTIONS */
.feature-item, .card, .testimonial-card, .cta-button, .main-nav a, .mobile-nav a, .cookie-btn {
  transition: box-shadow 0.18s, background 0.21s, color 0.20s, border 0.17s, transform 0.13s;
}

/* FORMS (if used) */
input[type="text"], input[type="email"], textarea {
  background: #232b2f;
  color: #FFAF19;
  border: 1.4px solid #505862;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  width: 100%;
  transition: border 0.13s, background 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #FFAF19;
  background: #1e2933;
  outline: none;
}

/* TYPOGRAPHY SCALE */
.text-section h2 { font-size: 1.2rem; color: #FFAF19; margin-bottom: 8px; }
.text-section h3 { font-size: 1.1rem; color: #FFAF19; margin-bottom: 7px; }

/* Z-Index for Components */
header { position: relative; z-index: 200; }
.mobile-menu, .mobile-menu-toggle { z-index: 203; }
.cookie-banner, .cookie-modal-overlay, .cookie-modal { z-index: 5000; }

/* ACCESSIBILITY FOCUS STYLES */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2px dashed #FFAF19;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #FFAF19;
}

/* Hide visually while remaining accessible */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* RESPONSIVENESS & FLEXBOX ORIENTATION */
@media (max-width: 968px) {
  .container { max-width: 99vw; }
}
@media (max-width: 640px) {
  .content-wrapper { gap:12px; }
}

/* Prevent overflow */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Utility Classes */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* End of CSS */
