/* ===============================================================
   Vortex Haven AutoGuide | css/style.css
   Vibrant Energetic Design – All Pages
   =============================================================== */
/* ==== RESET & BASE LAYOUT ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F6F6;
  color: #173954;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #277DF6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8EBB53;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: #173954;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  font-size: 1.125rem;
  color: #173954;
}
strong {
  font-weight: 700;
  color: #173954;
}
/* ==== FLEXBOX & SECTIONS ==== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(24, 61, 139, 0.07);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  max-width: 850px;
}
/* ==== HEADER & NAVIGATION ==== */
header {
  background: #173954;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8EBB53;
  color: #173954;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1rem;
  background: #8EBB53;
  color: #173954;
  border-radius: 44px;
  padding: 13px 28px;
  box-shadow: 0 2px 6px 0 rgba(24, 61, 139, 0.13);
  border: 0;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.cta-button:hover, .cta-button:focus {
  background: #277DF6;
  color: #FFF;
  box-shadow: 0 6px 22px 0 rgba(24, 61, 139, 0.18);
}
/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: #8EBB53;
  color: #173954;
  font-size: 2.2rem;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  padding: 4px 16px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #277DF6;
  color: #FFF;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #173954;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 40px 28px 24px 28px;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #8EBB53;
  color: #173954;
  font-size: 2rem;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  padding: 5px 19px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover { background: #FFF; color: #173954; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.03em;
  padding: 12px 0 12px 0;
  border-radius: 6px;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8EBB53;
  color: #173954;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 8px;
  }
  .cta-button {
    margin-left: 7px;
    padding: 11px 18px;
  }
}
@media (max-width: 730px) {
  .main-nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .logo {
    margin-right: auto;
  }
}

/* ==== HERO SECTION ==== */
main > section:first-child {
  background: #277DF6;
  color: #FFF;
  box-shadow: 0 6px 32px 0 rgba(24,61,139,0.08);
  border-radius: 0 0 32px 32px;
  margin-bottom: 68px;
  min-height: 260px;
}
main > section:first-child h1,
main > section:first-child p {
  color: #FFF;
}
main > section:first-child .cta-button {
  background: #8EBB53;
  color: #173954;
  margin-top: 18px;
}
main > section:first-child .cta-button:hover {
  background: #FFF;
  color: #277DF6;
  box-shadow: 0 6px 22px 0 rgba(24,61,139,0.17);
}

/* ==== FLEX PATTERNS & STRUCTURES ==== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 15px 0 rgba(24, 61, 139, 0.08);
  transition: box-shadow .22s, transform .22s;
  overflow: hidden;
  min-width: 240px;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 38px 0 rgba(39, 125, 246, 0.16);
  transform: translateY(-4px) scale(1.018);
  z-index: 2;
}
.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: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #Fafecc;
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
  transition: box-shadow .2s;
  box-shadow: 0 2px 12px 0 rgba(142,187,83,0.07);
}

/* ==== CUSTOM ELEMENTS ==== */
/* Hero call to action and content wrappers */
main > section .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* List with icons */
ul li img {
  vertical-align: middle;
  margin-right: 10px;
  height: 26px;
  width: 26px;
}
ul li strong {
  color: #173954;
  font-weight: 700;
}
ul li {
  font-size: 1.06rem;
  color: #173954;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
ol li {
  margin-bottom: 10px;
}
.feature-item strong {
  color: #277DF6;
}
/* Timeline element in ankaufprozess */
.timeline {
  background: #F6F6F6;
  margin-top: 18px;
  border-radius: 14px;
  padding: 23px 20px;
  box-shadow: 0 1px 10px 0 rgba(24,61,139,0.07);
  color: #173954;
  font-size: 1.1rem;
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(39, 125, 246, 0.10);
  margin-bottom: 20px;
  max-width: 600px;
  width: 100%;
  color: #173954;
  transition: box-shadow 0.19s;
}
.testimonial-card p {
  color: #173954;
  font-size: 1.13rem;
  font-style: italic;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.testimonial-card span {
  color: #8EBB53;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
@media (min-width: 990px) {
  .content-wrapper {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .testimonial-card {
    min-width: 300px;
    max-width: 420px;
    align-items: flex-start;
  }
}
/* FAQ ACCORDION */
.faq-accordion > h3 {
  background: #8EBB53;
  color: #173954;
  cursor: pointer;
  margin-bottom: 6px;
  border-radius: 9px;
  padding: 13px 18px;
  font-size: 1.15rem;
  font-weight: 700;
  transition: background 0.18s, box-shadow 0.2s;
}
.faq-accordion > h3:hover {
  background: #277DF6;
  color: #FFF;
}
.faq-accordion p {
  background: #FFF;
  color: #173954;
  margin-bottom: 12px;
  padding: 10px 18px 13px 18px;
  border-radius: 7px;
}
.search-faq {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}
.search-faq label {
  color: #173954;
  font-weight: 600;
  font-size: 1.08rem;
}
.search-faq a {
  background: #8EBB53;
  color: #173954;
  font-size: 1.06rem;
  border-radius: 20px;
  padding: 6px 19px;
  font-weight: 700;
  font-family: 'Montserrat';
  transition: background 0.16s, color 0.16s;
}
.search-faq a:hover {
  background: #277DF6;
  color: #FFF;
}
/* ==== FOOTER ==== */
footer {
  background: #173954;
  color: #FFF;
  padding: 40px 0 26px 0;
  width: 100%;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  background: transparent;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  background: #8EBB53;
  color: #173954;
}
.footer-social {
  display: flex;
  gap: 19px;
  margin: 16px 0 5px 0;
}
.footer-social img {
  height: 26px;
  width: 26px;
  filter: brightness(1.3) saturate(1.3) drop-shadow(0px 0px 3px #8EBB53bb);
  transition: transform 0.19s;
}
.footer-social img:hover {
  transform: scale(1.15) rotate(7deg);
}
footer p {
  color: #FFF;
  font-size: 1rem;
  margin-bottom: 0;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #173954;
  color: #fff;
  z-index: 200;
  display: none !important;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  gap: 18px;
  box-shadow: 0 -3px 24px 0 rgba(39, 125, 246, 0.19);
  transition: transform 0.34s;
  transform: translateY(0%);
  font-size: 1.07rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  font-family: 'Open Sans';
}
.cookie-banner-buttons {
  display: flex;
  gap: 11px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 20px;
  font-size: 1rem;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  outline: none;
  margin: 0;
  transition: background 0.18s, color 0.18s;
}
.cookie-accept { background: #8EBB53; color: #173954; }
.cookie-reject { background: #FFF; color: #173954; }
.cookie-settings { background: #277DF6; color: #FFF; }
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.88;
  box-shadow: 0 2px 8px 0 rgba(142, 187, 83, 0.14);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: #FFF;
  color: #173954;
  border-radius: 20px;
  box-shadow: 0 8px 48px 0 rgba(39,125,246,0.22);
  z-index: 209;
  width: 97vw;
  max-width: 430px;
  padding: 36px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.34s cubic-bezier(0.55,0,0.1,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%,-44%) scale(0.98); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: #277DF6;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-modal .modal-section {
  margin-bottom: 13px;
}
.cookie-modal label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #173954;
  margin-bottom: 2px;
}
.cookie-modal .modal-switch {
  display: flex; align-items: center; gap: 11px;
  margin: 8px 0 10px 0;
}
.cookie-modal .switch {
  width: 44px; height: 24px; border-radius: 13px; background: #EEF1F7;
  position: relative; transition: background 0.19s;
  cursor: pointer;
  margin-right: 6px;
}
.cookie-modal input[type='checkbox'] {
  width: 0; height: 0; opacity: 0; pointer-events: none;
}
.cookie-modal input[type='checkbox']:checked + .switch {
  background: #8EBB53;
}
.switch::before {
  content: '';
  position: absolute; left: 4px; top: 3px;
  width: 18px; height: 18px; border-radius: 9px;
  background: #fff;
  transition: left 0.19s;
}
.cookie-modal input[type='checkbox']:checked + .switch::before {
  left: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 9px;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 19px; right: 21px;
  background: none;
  border: none;
  color: #277DF6;
  font-size: 1.45rem;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal .close-modal:hover{ color: #8EBB53; }

/* Disable background scroll when modal open */
body.cookie-modal-open {
  overflow-y: hidden;
}

/* ==== RESPONSIVE LAYOUTS ==== */
@media (max-width: 990px) {
  .container { padding: 0 5vw; }
  .section, main > section { padding: 32px 10px; }
}
@media (max-width: 820px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.33rem; }
  h3 { font-size: 1.01rem; }
  .container { padding: 0 2vw; }

  .section, main > section { padding: 26px 7px; }
}
@media (max-width: 600px) {
  .section, main > section {
    margin-bottom: 38px;
    padding: 18px 2px;
    box-shadow: 0 1.5px 6px 0 rgba(24,61,139,0.08);
    border-radius: 14px;
  }
  .testimonial-card{
    padding: 13px;
    font-size: .93rem;
  }
}

@media (max-width: 480px) {
  .footer-social {
    gap: 12px;
  }
  .container, header .container {
    padding: 0 4vw;
  }
  .testimonial-card {
    padding: 7px;
  }
  .card-container, .card-grid {
    gap: 12px;
  }
  .cookie-modal { padding: 16px 5vw 13px 5vw; }
}

/* ==== MICRO-INTERACTIONS & HOVER ==== */
.card,
.feature-item,
.testimonial-card,
.cookie-banner,
.cta-button {
  transition: box-shadow 0.18s, background 0.18s, color .19s, transform .19s;
}
.cta-button:active,
.card:active,
.feature-item:active {
  transform: scale(0.98);
  box-shadow: 0 0px 2px 0 #8EBB53;
}

/* ==== SCROLLBAR MODERNIZED ==== */
::-webkit-scrollbar { width: 9px; background: #F6F6F6; }
::-webkit-scrollbar-thumb { background: #8EBB53; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #277DF6; }

/* ==== COLORFUL VIBRANT AESTHETIC ==== */
.section {
  border-left: 8px solid #8EBB53;
  box-shadow: 0 6px 32px 0 rgba(39,125,246,0.06), 0 0px 0px 1px #8EBB5309;
  background: #FFFFFF;
}
main > section:first-child {
  border-left-color: #277DF6;
  border-right: 8px solid #8EBB53;
  background-image: linear-gradient(96deg,#277DF6 50%,#8EBB53 100%);
  background-blend-mode: multiply;
  color: #FFF;
}
main > section:first-child .cta-button {
  background: #8EBB53;
  color: #173954;
}

/* ==== MISC ==== */
::-moz-selection { background: #8EBB53; color: #173954; }
::selection { background: #8EBB53; color: #173954; }

.show { display: block !important; }
.hide { display: none !important; }

/* Focus rings */
:focus-visible {
  outline: 2px solid #277DF6;
  outline-offset: 2px;
}

/* === END OF CSS === */