/* =============================
   Improrisom AutoService Minimalist Style
   Author: Senior CSS Developer
   Brand: Improrisom AutoService
   ============================= */

/* === CSS RESET (normalize-lite) === */
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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #F5F7FA;
  color: #213965;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #213965;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #C2A135;
  outline: none;
}

button, input[type="button"], input[type="submit"] {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #213965;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

::-webkit-input-placeholder { color: #9DA9C6; }
::-moz-placeholder { color: #9DA9C6; }
:-ms-input-placeholder { color: #9DA9C6; }
::placeholder { color: #9DA9C6; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #213965;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.25rem; margin-top: 0; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.17rem; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
ul, ol { padding-left: 20px; }
li { margin-bottom: 10px; }
strong, b { font-weight: 600; }

/* === STRUCTURE & LAYOUT === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section, .about-section, .team-section, .why-choose-us, .contact-section, .contact-cta-section, .thankyou-section, .legal-section, .locations-section, .pricing-section, .service-detail-section, .service-overview, .features, .testimonials, .home-cta, .section-cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(33,57,101,0.06);
}
@media (max-width: 768px) {
  .section, .about-section, .team-section, .why-choose-us,
  .contact-section, .contact-cta-section, .thankyou-section,
  .legal-section, .locations-section, .pricing-section, .service-detail-section, .service-overview, .features, .testimonials, .home-cta, .section-cta {
    padding: 28px 10px;
    margin-bottom: 32px;
    border-radius: 8px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(33,57,101,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
header .container { padding-top: 12px; padding-bottom: 12px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 4px 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #C2A135;
}
.main-nav .cta-btn {
  margin-left: 20px;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 7px 14px;
  margin-left: 18px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F7FA;
  color: #C2A135;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
    font-size: 0.97rem;
  }
}
@media (max-width: 940px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 6px;
    font-size: 0.96rem;
  }
  .main-nav .cta-btn {
    margin-left: 6px;
  }
}
@media (max-width: 730px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle{
    display: block;
  }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 57, 101, 0.98);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.63,.02,.92,.66);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 42px;
  padding-left: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 8px 0 32px 0 rgba(34,41,57,0.17);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  z-index: 1030;
  padding: 0 7px;
  line-height: 1;
  cursor: pointer;
  opacity: .9;
}
.mobile-menu-close:hover {
  color: #C2A135;
  background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 1.3rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-top: 28px;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197,197,197,0.04);
  width: max-content;
  transition: color 0.18s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C2A135;
  outline: none;
}
@media (min-width: 731px) {
  .mobile-menu, .mobile-menu-close { display: none !important; }
}

/* === BUTTONS / CTA === */
.cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  font-size: 1.05rem;
  background: #213965;
  color: #fff !important;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 8px 0 rgba(33,57,101,0.09);
  transition: background 0.24s, color 0.16s, box-shadow 0.24s, transform 0.18s;
  cursor: pointer;
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 6px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C2A135;
  color: #213965 !important;
  box-shadow: 0 6px 18px 0 rgba(33,57,101,.15);
  transform: translateY(-2px) scale(1.03);
}

/* === FLEXBOX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(33,57,101,0.07);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  flex: 1 1 240px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 18px;
  background: #F5F7FA;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 9px 0 rgba(33,57,101,0.03);
  min-width: 180px;
  max-width: 600px;
  border: 1px solid #E6EAF0;
}
.testimonial-card span {
  font-size: 1.1rem;
  color: #C2A135;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 9px;
}
.testimonial-card p {
  color: #213965;
  font-size: 1rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #213965;
  font-size: 0.97rem;
  font-weight: 600;
}
/* For testimonials readability */
.testimonials { background: #fff; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === HOME & SERVICES: Feature grid and service list === */
.feature-grid, .service-list, .detailed-service-list, .team-list, .usp-list, .brand-values, .faq-list, .locations-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0 0 20px 0;
}
.feature-grid li, .service-list li, .detailed-service-list li, .team-list li, .usp-list li, .faq-list li, .locations-list li, .brand-values li {
  background: #F5F7FA;
  box-shadow: 0 2px 9px 0 rgba(33,57,101,0.05);
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 190px;
  max-width: 350px;
  font-size: 1rem;
}
.feature-grid li img, .usp-list li img {
  width: 36px; height: 36px; margin-bottom: 10px;
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .detailed-service-list, .team-list, .usp-list, .faq-list, .locations-list {
    gap: 14px;
  }
  .feature-grid li, .service-list li, .detailed-service-list li, .team-list li, .usp-list li, .faq-list li, .locations-list li{ min-width: 148px; max-width: 100%; padding: 18px 10px; }
}
@media (max-width: 600px) {
  .feature-grid, .service-list, .detailed-service-list, .team-list, .usp-list, .faq-list, .locations-list {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid li, .service-list li, .detailed-service-list li, .team-list li, .usp-list li, .faq-list li, .locations-list li {
    margin-bottom: 10px;
  }
}

/* === PRICING TABLE === */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 11px 0 rgba(33,57,101,0.06);
  margin-bottom: 28px;
}
.pricing-table th, .pricing-table td {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 14px 22px;
  border-bottom: 1px solid #E6EAF0;
  text-align: left;
  font-size: 1rem;
  color: #213965;
}
.pricing-table th {
  background: #F5F7FA;
  font-weight: 700;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table tr:hover td {
  background: #F5F7FA;
}
.service-price {
  font-weight: 600;
  color: #C2A135;
  margin-left: 8px;
}

/* === SPECIAL BLOCKS === */
.price-notes, .included-services, .service-area-highlights {
  background: #F5F7FA;
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(33,57,101, .04);
  font-size: 15px;
}
.price-notes ul, .included-services ul, .service-area-highlights ul {
  margin-bottom: 0;
  margin-top: 8px;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 8px 0 rgba(33,57,101,0.02);
  border-top: 1.5px solid #E6EAF0;
  padding: 0;
}
footer .container {
  padding-top: 28px;
  padding-bottom: 28px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-nav a {
  color: #9DA9C6;
  transition: color 0.18s;
  font-weight: 400;
}
.footer-nav a:hover {
  color: #C2A135;
}
.footer-contact img, .footer-contact span img {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  margin-right: 7px;
}
.footer-contact address {
  font-style: normal;
  color: #213965;
  font-size: 0.97rem;
  line-height: 1.7;
  margin-top: 6px;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a img {
  width: 28px;
  height: 28px;
  opacity: 0.84;
  transition: opacity 0.14s, transform 0.16s;
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
  transform: scale(1.07);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* === MAP SNIPPET === */
.map-snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F5F7FA;
  border-radius: 8px;
  padding: 15px 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px 0 rgba(33,57,101,0.04);
}
.map-snippet img {
  width: 38px;
  margin-right: 8px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10100;
  width: 100vw;
  background: #fff;
  color: #213965;
  border-top: 2px solid #E6EAF0;
  box-shadow: 0 -2px 18px 0 rgba(33,57,101, 0.05);
  padding: 22px 28px 18px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  transition: transform 0.27s cubic-bezier(.5,.11,.17,.97);
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__text {
  flex: 2 1 220px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 14px;
  padding: 8px 24px;
  font-weight: 600;
  border: none;
  margin-right: 0;
  margin-bottom: 0;
  transition: background 0.2s, color 0.16s, box-shadow 0.16s, transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn.accept {
  background: #213965;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(33,57,101,0.07);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #C2A135;
  color: #213965;
  transform: translateY(-1px) scale(1.03);
}
.cookie-btn.reject {
  background: #F5F7FA;
  color: #213965;
  border: 1px solid #C2A135;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  border-color: #213965;
  background: #e7eaef;
}
.cookie-btn.settings {
  background: #fff;
  border: 1px solid #213965;
  color: #213965;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  border-color: #C2A135;
  background: #fcf9f2;
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 20px 7px 16px 7px;
    align-items: flex-start;
  }
  .cookie-btn { width: 100%; min-width: 94px; }
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10200;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,57,101,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s cubic-bezier(.7,.1,.6,.9);
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  padding: 34px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 4px 28px 0 rgba(33,57,101, 0.13);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookie-popup-fade 0.32s cubic-bezier(.6,.05,.7,.89);
}
@keyframes cookie-popup-fade {
  from { opacity: 0; transform: scale(0.97) translateY(28px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 19px;
  background: none; color: #213965;
  font-size: 2rem; border: none; cursor: pointer;
}
.cookie-modal-close:hover {
  color: #C2A135;
}
.cookie-categories {
  list-style: none;
  margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #C2A135;
}
.cookie-category label {
  color: #213965;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: 4px;
}
.cookie-category .desc {
  color: #69758B; font-size: 0.98rem; margin-top: 2px;
}
.cookie-category.essential label {
  color: #C2A135;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 8px 18px 8px;
    min-width: 0;
  }
}

/* === DETAILS: FAQ lists === */
.faq-list li {
  padding: 18px 10px;
  margin-bottom: 10px;
}

/**** UTILITIES & GENERAL ****/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-center {
  align-items: center;
  justify-content: center;
}
.flex-between {
  align-items: center;
  justify-content: space-between;
}
gap-20 { gap: 20px; }
.gap-10 { gap: 10px; }

/* === MISCELLANEOUS === */
hr {
  border: none;
  border-top: 1px solid #E6EAF0;
  margin: 36px 0 24px 0;
}

/* === ANIMATIONS === */
.cta-btn, .cookie-btn, .main-nav a, .mobile-nav a, .card, .feature-grid li, .testimonial-card, .pricing-table tr, .map-snippet {
  transition: box-shadow 0.22s, background 0.18s, color 0.15s, transform 0.12s;
}
.card:hover, .feature-grid li:hover, .pricing-table tr:hover {
  box-shadow: 0 6px 24px 0 rgba(33,57,101,0.13);
  transform: translateY(-3px) scale(1.019);
  background: #F5F7FA;
}

/* === HERO === */
.hero-section {
  padding-top: 56px;
  background: #F5F7FA;
  border-radius: 0 0 24px 24px;
}
.hero-section .container { padding-top: 10px; }
.hero-section h1 {
  font-size: 2.45rem;
  color: #213965;
  margin-bottom: 18px;
}
.hero-section p { font-size: 1.13rem; max-width: 700px; }
@media (max-width: 700px) {
  .hero-section{ padding-top: 22px; border-radius:0 0 11px 11px; } 
  .hero-section h1 { font-size: 1.4rem; }
}

/* === ABOUT PAGE ELEMENTS === */
.brand-values li {
  background: #fff;
  border: none;
  font-size: 1.01rem;
  color: #213965;
  box-shadow: none;
  padding: 7px 0 7px 0px;
}

/* === SPECIAL SECTION ICONS === */
.content-wrapper img[alt^="Telefon"],
.content-wrapper img[alt^="E-Mail"],
.content-wrapper img[alt^="Öffnungszeiten"],
.content-wrapper img[alt^="Vertrauensgarantie"],
.content-wrapper img[alt^="Modernste Technik"],
.content-wrapper img[alt^="Zertifizierte Fachkräfte"],
.content-wrapper img[alt^="Schnelle Abwicklung"] {
  width: 22px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

/* === THANK YOU PAGE === */
.thankyou-section {
  text-align: center;
}
.thankyou-section .cta-btn {
  margin-top: 14px;
}

/* === RESPONSIVE FONT SCALE === */
@media (max-width: 420px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.01rem; }
  .cta-btn, .cookie-btn { font-size: 0.97rem; }
}

/* === SCROLLBAR (minimal) === */
body::-webkit-scrollbar { width: 9px; background: #F5F7FA; }
body::-webkit-scrollbar-thumb { background: #E6EAF0; border-radius: 7px; }

/* === HIGHLIGHT JS (fallback) === */
::-moz-selection { background: #C2A135; color: #fff; }
::selection { background: #C2A135; color: #fff; }

/*******************************
  ACCESSIBILITY & CONTRAST
*******************************/
*:focus-visible {
  outline: 2px solid #C2A135 !important;
  outline-offset: 2px;
}

/* === END OF STYLES === */
