/* ============================================================
     CSS 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 {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  background: #F5F6FA;
  color: #1A2A35;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #D92C2C;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover:not(.cta-primary) {
  color: #A82121;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #ECF2FF;
  font-family: 'Rubik', 'Open Sans', Arial, sans-serif;
  font-size: 18px;
}
tr:nth-child(even) {
  background: #F8F8FA;
}

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

/* ============================
   COLOR VARIABLES
============================ */
:root {
  /* Brand palette & soft pastel variants */
  --primary: #1A2A35;
  --secondary: #D92C2C;
  --accent: #F5F6FA;
  --pastel-blue: #E5ECFB;
  --pastel-pink: #FCEEEE;
  --pastel-green: #E9F7EF;
  --pastel-yellow: #FFF8E1;
  --pastel-mint: #E1FAF7;
  --text-dark: #1A2A35;
  --text-light: #616781;
  --white: #fff;
}

/* ============================
   LAYOUT & CONTAINERS
============================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(26,42,53,0.06);
  transition: box-shadow 0.2s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: var(--pastel-mint);
  border-radius: 16px;
  padding: 24px 20px;
}

.card-container, .card-grid { /* For cards */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-blue);
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(26,42,53,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
}

.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;
  padding: 24px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(135, 157, 255, 0.08);
  margin-bottom: 24px;
  border-left: 6px solid var(--pastel-blue);
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 17px;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card strong {
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary);
}

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

/* ============================
   HEADER & NAV
============================ */
header {
  background: linear-gradient(90deg, #FCEEEE 0%, #E1FAF7 100%);
  box-shadow: 0 4px 20px 0 rgba(26,42,53,0.06);
  position: sticky;
  top: 0;
  z-index: 99;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}
header img {
  height: 44px;
  width: auto;
  transition: filter 0.2s;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  padding: 6px 14px;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--primary);
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: var(--pastel-blue);
  color: var(--secondary);
}
header nav .cta-primary {
  background: var(--secondary);
  color: var(--white) !important;
  font-weight: 700;
  border-radius: 18px;
  padding: 9px 22px;
  margin-left: 10px;
  box-shadow: 0 2px 8px 0 rgba(217,44,44,0.10);
  transition: background 0.18s, color 0.2s, box-shadow 0.18s;
}
header nav .cta-primary:hover {
  background: #B02121;
  color: var(--white);
  box-shadow: 0 5px 16px 0 rgba(217,44,44,0.08);
}

/* =============================
   HAMBURGER - MOBILE MENU
============================= */
.mobile-menu-toggle {
  display: block;
  background: var(--secondary);
  border: none;
  color: var(--white);
  font-size: 28px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  z-index: 120;
}
.mobile-menu-toggle:hover {
  background: #A82121;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(160deg, #E5ECFB 60%, #FCEEEE);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  padding: 32px 24px;
  box-shadow: 0 8px 40px 0 rgba(22,52,62,0.12);
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.68,-0.6,.32,1.6), opacity 0.28s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  margin-top: -4px;
  margin-bottom: 10px;
  margin-left: auto;
  display: block;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--secondary);
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px 14px;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: var(--pastel-pink);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 21px;
  padding: 12px 6px;
  border-radius: 7px;
  font-weight: 500;
  background: none;
  transition: background 0.16s, color 0.18s;
  min-width: 170px;
}
.mobile-nav a:hover {
  background: var(--pastel-mint);
  color: var(--secondary);
}

@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* =============================
   TYPOGRAPHY - HEADINGS & BODY
============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.16;
  color: var(--primary);
  margin: 0 0 4px 0;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 10px;
}
h3 {
  font-size: 1.4rem; /* 22px */
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 6px;
}
p, ul, ol, dl {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}
small {
  font-size: 0.94em;
  color: var(--text-light);
}

/* =========================
   BUTTONS & LINKS
========================= */
.cta-primary,
a.cta-primary {
  display: inline-block;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #D92C2C 0%, #FCEEEE 100%);
  color: var(--white) !important;
  border: none;
  border-radius: 22px;
  padding: 13px 32px;
  font-size: 20px;
  margin-top: 4px;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(217,44,44,0.12);
  transition: background 0.17s, box-shadow 0.18s, color 0.19s;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #A82121 0%, #FCEEEE 100%);
  color: #fff !important;
  box-shadow: 0 7px 24px 0 rgba(217,44,44,0.16);
  outline: none;
}

button {
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
}

/* Micro-interaction: 
   Button tap effect */
.cta-primary:active {
  transform: scale(0.97);
}

/* =========================
   ICONS INSIDE LISTS/Others
========================= */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 0 7px 0;
}
ul li img {
  height: 26px;
  width: auto;
}

/* ======================
   FORMS (if any later)
====================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  border: 1.6px solid #E5ECFB;
  border-radius: 13px;
  padding: 10px 14px;
  background: #fff;
  margin-bottom: 20px;
  width: 100%;
  outline: none;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  background: #FCF3F5;
}

/* =========================
   TABLE SPECIFICS (prices)
========================= */
table {
  margin: 28px 0 24px 0;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(26, 52, 70, .06);
}
th, td {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  border-bottom: 1px solid #E5ECFB;
}
th {
  color: var(--primary);
  font-weight: 700;
}

/* =========================
   FOOTER
========================= */
footer {
  background: linear-gradient(90deg, #E1FAF7 0%, #FCEEEE 100%);
  color: var(--primary);
  padding: 0 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 20px 16px 20px;
}
.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 1px #FCEEEE);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 16px;
}
footer nav a {
  color: var(--primary);
  font-weight: 500;
  opacity: 0.8;
  transition: color 0.15s, opacity 0.18s;
}
footer nav a:hover {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 16px;
  line-height: 1.7;
}
.footer-contact img {
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 500;
}
.footer-legal {
  width: 100%;
  text-align: center;
  background: none;
  padding: 8px 0 20px 0;
}
.footer-legal small {
  font-size: 15px;
  color: var(--text-light);
  opacity: 0.74;
}

/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 0; 
  bottom: 0;
  width: 100%;
  background: #fffcee;
  box-shadow: 0 -2px 20px 0 rgba(26,42,53,0.10);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  padding: 26px 12px 19px 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieIn 0.66s cubic-bezier(.66,-0.11,.39,1.34);
}
@keyframes cookieIn {
  from {opacity: 0; transform: translateY(70px)}
  to {opacity: 1; transform: translateY(0)}
}
.cookie-banner p {
  color: var(--primary);
  font-size: 16px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 16px;
  padding: 10px 22px;
  border-radius: 15px;
  border: none;
  min-width: 130px;
  margin-top: 2px;
  transition: background 0.16s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: 0 2px 11px 0 rgba(217,44,44,0.04);
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #D92C2C 0%, #FCEEEE 100%);
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover {
  background: linear-gradient(90deg, #A82121 0%, #FCEEEE 100%);
}
.cookie-btn.reject {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cookie-btn.reject:hover {
  background: #FCEEEE;
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--pastel-mint);
  color: var(--primary);
}
.cookie-btn.settings:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* Cookie Banner Modal */
.cookie-modal {
  position: fixed;
  z-index: 2500;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  background: #fff;
  box-shadow: 0 6px 34px 0 rgba(36,50,70,0.14);
  border-radius: 19px;
  width: 90vw;
  max-width: 410px;
  padding: 36px 28px 24px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, transform 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -48%) scale(1);
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 15.5px;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  accent-color: var(--secondary);
  margin-right: 4px;
}
.cookie-modal .cookie-category-meta {
  color: #637480;
  font-size: 13.8px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 108px;
}

/* =========================
   MEDIA QUERIES - TABLET/MOBILE
========================= */
@media (max-width: 800px) {
  .container {
    padding: 0 7px;
  }
  .footer-logo img {
    width: 98px;
  }
  footer .container {
    gap: 18px;
    padding: 26px 10px 12px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.16rem; }
  .section {
    margin-bottom: 42px;
    padding: 28px 6px;
    border-radius: 15px;
  }
  .content-wrapper, .content-grid {
    gap: 14px;
  }
  .text-section {
    padding: 11px 7px;
    border-radius: 11px;
  }
  .testimonial-card {
    padding: 15px 10px;
    font-size: 15px;
    border-radius: 10px;
    margin-bottom: 17px;
  }
  .card {
    padding: 14px 7px;
    border-radius: 10px;
    margin-bottom: 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 8px;
  }
  .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 16px 2px;
    margin-bottom: 28px;
  }
  main {
    margin-bottom: 18px;
  }
  footer {
    padding: 0;
  }
  .footer-logo img {
    width: 84px;
    margin-bottom: 3px;
  }
}

/* Flexbox requirement: prevent overlap between cards/sections */
main > section:not(:last-child) {
  margin-bottom: 22px;
}

/* Special: FAQ and DLs */
dl dt {
  font-family: 'Rubik', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1.07rem;
  margin-top: 13px;
  margin-bottom: 4px;
  font-weight: bold;
}
dl dd {
  margin-bottom: 11px;
  color: var(--primary);
  font-size: 1rem;
  margin-left: 0px;
  line-height: 1.5;
}

/* ================
   ANIMATIONS
================ */
.cta-primary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.21s, color 0.14s, box-shadow 0.17s, transform 0.12s;
}

/* ================
   ACCENT EFFECTS
================ */
.section {
  border: 1.1px solid #ecf2ff;
  box-shadow: 0 2px 13px 0 rgba(26, 52, 70, 0.04);
}
.card, .testimonial-card {
  box-shadow: 0 2px 14px 0 rgba(60, 80, 140, 0.06);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 30px 0 rgba(217,44,44,0.09), 0 2px 16px 0 rgba(135, 157, 255, 0.13);
  transition: box-shadow 0.2s;
}

/* ================
   VISUAL
================ */
hr {
  border: none;
  height: 1px;
  background: #E5ECFB;
  margin: 22px 0;
}

/* ================
   RESPONSIVE FLEX-DIRECTION for Text-Image Section
================ */
@media (max-width: 800px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ================
   Z-INDEX ORDERING
================ */
header {
  z-index: 1000;
}
.mobile-menu { z-index: 1100; }
.cookie-banner, .cookie-modal { z-index: 2100; }

/* ================
   MISC - SCROLLBAR
================ */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F6FA;
}
::-webkit-scrollbar-thumb {
  background: #E5ECFB;
  border-radius: 10px;
}

/* END OF SOFT PASTEL - MODERN UI FOR RAPID AUTO NÜRNBERG */