/* ==========================================================================
   Arctic Motor Ölservice - style.css
   Style: CREATIVE_ARTISTIC (vibrant, artistic, modern/flexible, unique)
   Layouts: ONLY flexbox, 100% responsive, mobile-first
   Brand: #24374B (primary), #6593A6 (secondary), #F3F4F8 (accent)
   Typography: 'Oswald', 'Roboto', artistic alternates for headings
   Fonts loaded externally in HTML (not repeated here)
   ========================================================================== */

/* --- RESET & 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,
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 100%; /* 16px */
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F3F4F8;
  color: #24374B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #24374B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #0d1a2b;
  outline: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* --- ROOT COLORS AND FONTS --- */
:root {
  --primary: #24374B;
  --secondary: #6593A6;
  --accent: #F3F4F8;
  --action: #FFD85D;
  --action-dark: #F4B824;
  --danger: #C02C2C;
  --success: #2C9458;
  --surface: #FFFFFF;
  --text: #1E2530;
  --header-shadow: rgba(64, 104, 135, 0.10);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6, .hero h1 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.04em;
  font-weight: 700;
}
h1, .hero h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.subtitle, .hero .subtitle {
  font-size: 1.18rem;
  color: var(--secondary);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
}
p, ul, ol {
  margin-bottom: 16px;
  color: var(--text);
}
strong {
  font-weight: 600;
  color: var(--primary);
}

/* --- BASIC STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(66, 78, 104, 0.10), 0 1.5px 8px rgba(130, 150, 170, 0.11);
  background: #fff;
  border: 2px solid var(--accent);
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 14px 34px rgba(37, 55, 75,0.18), 0 2px 8px rgba(66, 147, 166, 0.06);
  transform: translateY(-5px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 28px rgba(66,104,135,0.10), 0 1.5px 8px rgba(130,150,170,0.13);
  border-left: 6px solid var(--secondary);
  position: relative;
  min-width: 260px;
}
.testimonial-card p {
  color: #1E2530;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 12px;
  font-size: 1.02rem;
}
.testimonial-card span {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Oswald', sans-serif;
}
.rating-summary {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
}

/* --- HERO --- */
.hero {
  min-height: 320px;
  background: linear-gradient(110deg, var(--accent) 60%, var(--secondary) 100%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 12px 34px -18px var(--header-shadow);
  margin-bottom: 42px;
  display: flex;
  align-items: center;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
  min-height: 240px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.75rem;
  text-shadow: 0 4px 16px #e5ebfa44;
}
.hero .subtitle {
  color: var(--secondary);
  font-weight: 500;
}
.hero .btn-primary {
  margin-top: 24px;
}

/* --- MAIN NAVIGATION --- */
header {
  width: 100%;
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 14px -6px var(--header-shadow);
  z-index: 1100;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.logo img {
  height: 52px;
  transition: filter 0.2s;
}
.logo:hover img {
  filter: brightness(1.08) drop-shadow(0 2px 8px #6593a655);
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.12rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: none;
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
  border-radius: 14px;
  font-size: 1.13rem;
  font-family: 'Oswald', sans-serif;
  padding: 12px 32px;
  font-weight: 600;
  box-shadow: 0 2px 8.8px rgba(66,104,135,0.11);
  transition: background 0.17s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(66,104,135,0.22);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 991px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: var(--secondary);
    color: #fff;
    border-radius: 9px;
    width: 44px;
    height: 44px;
    font-size: 2.1rem;
    line-height: 44px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(66, 104, 135, 0.09);
    margin-left: 10px;
    transition: background 0.18s, transform 0.16s;
    position: relative;
    z-index: 1501;
  }
  .mobile-menu-toggle:active,.mobile-menu-toggle:focus{
    background: var(--primary);
    outline: none;
    transform: scale(1.06);
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,55,75,0.97);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.66,-0.51,.32,1.45);
  will-change: transform;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 24px 0 0;
  padding: 8px 14px 5px 14px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 40px;
  padding-left: 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  padding: 10px 0 10px 2px;
  transition: color 0.19s, letter-spacing 0.15s;
  border-radius: 5px;
  letter-spacing: 0.08em;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--action);
  outline: none;
  letter-spacing: 0.13em;
}

@media (max-width: 600px) {
  .mobile-nav {
    padding-left: 10vw;
  }
}

/* --- SECTION & PATTERNS (MANDATORY FLEX) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURES & USPs --- */
.features .feature-grid, .about-usps .usp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0;
  justify-content: flex-start;
}
.features .feature, .about-usps .usp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px 32px 24px 16px;
  box-shadow: 0 6px 20px rgba(66,104,135,0.10);
  padding: 32px 20px 24px 28px;
  transition: box-shadow 0.22s, transform 0.16s;
  border-left: 7px solid var(--secondary);
  min-width: 250px;
  max-width: 350px;
  margin-bottom: 20px;
  min-height: 225px;
  position: relative;
  z-index: 1;
}
.features .feature::before, .about-usps .usp::before {
  content: '';
  position: absolute;
  top: -18px; right: -18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  z-index: 0;
  opacity: 0.41;
}
.features .feature img,.about-usps .usp img {
  width: 46px;
  margin-bottom: 12px;
  z-index: 2;
  filter: drop-shadow(0 2px 8px #6593a655);
}
.features .feature:hover, .about-usps .usp:hover {
  box-shadow: 0 12px 32px rgba(66,104,135,0.21);
  transform: translateY(-6px) scale(1.02);
}
.price {
  font-family: 'Oswald', sans-serif;
  color: var(--success);
  font-size: 1.14rem;
  background: var(--accent);
  border-radius: 7px;
  padding: 6px 14px;
  margin: 8px 0 0 0;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.feature-descriptions, .service-benefits {
  margin-top: 24px;
  background: var(--accent);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(66,104,135,0.08);
}
.feature-descriptions ul, .service-benefits ul {
  padding-left: 20px;
  list-style: disc inside;
}

/* --- SLIDER (Kundenstimmen/Testimonial) --- */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* --- CTA SECTION --- */
.cta {
  background: var(--secondary);
  border-radius: 28px;
  box-shadow: 0 6px 26px rgba(66,104,135,0.13);
  color: #fff;
  margin-bottom: 48px;
}
.cta h2, .cta p, .cta .btn-primary {
  color: #fff;
}
.cta .btn-primary {
  background: #fff;
  color: var(--secondary);
  margin-top: 18px;
  font-weight: 700;
  box-shadow: 0 2.5px 12px rgba(243,244,248,0.13);
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: var(--action);
  color: var(--primary);
}
.contact-info-short {
  margin-top: 12px;
  color: #fff;
}
.contact-info-short a { color: #FFD85D; }

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 44px 0 26px 0;
  margin-top: 32px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  opacity: 0.90;
  transition: color 0.15s, opacity 0.14s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--action);
  opacity: 1;
  border-bottom: 2px solid var(--action);
  outline: none;
}
.footer-contact {
  font-size: 0.98rem;
  color: #EDF2F6;
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}
.footer-contact a {
  color: #FFD85D;
  text-decoration: underline;
  transition: color 0.17s;
}
.footer-contact a:hover{
  color: #fff;
}

/* --- LEGAL PAGES --- */
.legal .container {
  padding-top: 60px;
  padding-bottom: 60px;
}
.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 26px;
}
.legal h2, .legal h3 {
  margin-bottom: 10px;
}
.legal .text-section ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.legal .text-section li {
  list-style: disc inside;
  margin-bottom: 8px;
}

/* --- FEEDBACK (THANK-YOU) PAGE --- */
.feedback {
  text-align: center;
  padding: 80px 20px 100px 20px;
}
.feedback h1 {
  font-size: 2.3rem;
  color: var(--secondary);
}
.feedback a.btn-primary {
  margin-top: 28px;
}

/* --- NO PHONE (KONTAKT) --- */
.no-phone {
  color: var(--secondary);
  font-style: italic;
  font-size: 1.07rem;
  margin-bottom: 14px;
}

/* --- COOKIE CONSENT --- */
.cookie-consent-banner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 22px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  min-height: 64px;
  background: #24374B;
  color: #fff;
  z-index: 1900;
  box-shadow: 0 -1px 20px rgba(66, 104, 135, 0.12);
  padding: 22px 20px 15px 24px;
  font-size: 1.06rem;
  transition: transform 0.33s cubic-bezier(.66,-0.51,.32,1.45);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(140%);
}
.cookie-consent-btns {
  display: flex;
  gap: 16px;
  margin-left: 12px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Oswald', sans-serif;
  padding: 8px 20px;
  font-weight: 600;
  transition: background 0.18s, color 0.17s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--action);
  color: var(--primary);
  outline: none;
  transform: scale(1.03);
}
.cookie-btn.reject {
  background: var(--danger);
  color: #fff;
}
.cookie-btn.reject:focus, .cookie-btn.reject:hover {
  background: #a12020;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--primary);
  color: var(--action);
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: var(--secondary);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,55,75,0.93);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.36s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: var(--text);
  border-radius: 24px;
  padding: 38px 28px 32px 28px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 28px rgba(66,104,135,.13);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1.02rem;
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 18px;
  background: none;
  color: var(--danger);
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 4px 10px 0 10px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
  color: #fff;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .features .feature-grid, .about-usps .usp-grid{
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .features .feature, .about-usps .usp {
    max-width: 100%;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-wrapper,
  .features .feature-grid,
  .about-usps .usp-grid,
  .testimonial-slider,
  .content-grid {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch !important;
  }
  .hero {
    min-height: 180px;
    padding-bottom: 22px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  section, .section
  {
    padding: 26px 4vw;
  }
  .features .feature, .about-usps .usp {
    max-width: 100%;
    min-width: 150px;
    padding: 24px 10px 18px 16px;
  }
  .cta, .cta.section {
    font-size: 1rem;
    padding: 28px 8px 28px 10px;
    border-radius: 22px;
  }
  .card {
    padding: 18px 10px;
    font-size: 1rem;
    border-radius: 14px;
  }
  .testimonial-card {
    min-width: unset;
    font-size: 0.98rem;
    border-radius: 13px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.92rem;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
/* Smallest screens */
@media (max-width: 480px) {
  .card, .features .feature, .about-usps .usp, .testimonial-card, .cta {
    font-size: 0.96rem;
    padding: 12px 2.5vw 14px 3.5vw;
  }
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1.05rem; }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- ARTISTIC DECORATIVE ELEMENTS (MINIMAL BUT CREATIVE) --- */
.features .feature:after, .about-usps .usp:after {
  content: '';
  display: block;
  position: absolute;
  left: -24px; bottom: -8px;
  width: 36px; height: 16px;
  border-radius: 60% 40% 70% 30%/38% 62% 31% 69%;
  background: var(--action);
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.btn-primary, .card, .features .feature, .about-usps .usp, .testimonial-card, .cta, .main-nav a, .footer-nav a, .cookie-btn {
  transition: box-shadow 0.2s, background 0.18s, color 0.14s, transform 0.15s;
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: 'Roboto', sans-serif;
  color: var(--primary);
  background: #fff;
  border: 1.5px solid var(--secondary);
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.19s, box-shadow 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37,55,75,0.10);
}
label {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: var(--secondary);
  margin-bottom: 6px;
  display: block;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 13px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- OVERRIDE HTML LISTS FOR PADDING --- */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* --- EXTRA UTILITY CLASSES --- */
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.flex-col { flex-direction: column !important; }
.gap-20 { gap: 20px !important; }

/* --- END --- */
