/* =============================
   Faylen Navigate - Elegant Classic CSS
   Author: Professional CSS Developer
   Brand: Faylen Navigate
   ============================= */

/* CSS 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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #FCF8F3;
  color: #222;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  background: #FCF8F3;
  color: #222;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}
a {
  color: #388368;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #183153;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

/* FONT SETTINGS (Serif for display/headings, Sans for body) */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  color: #183153;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 0.8em;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin-bottom: 0.6em;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 0.5em;
}
p, .answer {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
  margin-bottom: 1.1em;
}
strong {
  color: #183153;
  font-weight: 700;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  color: #222;
  font-size: 1.125rem;
  font-style: italic;
  margin: 0 0 1em 0;
  padding-left: 18px;
  border-left: 4px solid #388368;
  background: #f0ebe6;
}

/* === GENERAL LAYOUT CLASSES === */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(24,49,83,0.04), 0 0.5px 1.5px 0 rgba(24,49,83,0.02);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(24,49,83,0.06);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 310px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px 0 rgba(56,131,104,0.12);
}
.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;
  border-radius: 14px;
  background: #faf6f1;
  box-shadow: 0 1px 6px 0 rgba(24,49,83,0.06);
  margin-bottom: 24px;
  flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Features Grid (Homepage, Dienstleistungen, Vorteile) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 290px;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(24,49,83,0.04);
  padding: 32px 24px 24px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #ececec;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature:hover, .feature:focus {
  box-shadow: 0 4px 16px 0 rgba(56,131,104,0.12);
  transform: translateY(-3px) scale(1.015);
  border-color: #38836833;
}

/* Hero Section */
.hero {
  background: #183153;
  color: #fff;
  padding: 64px 0 48px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 4px 24px 0 rgba(24,49,83,0.06);
}
.hero .container {
  align-items: flex-start;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta-primary {
  margin-top: 32px;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(24,49,83,0.06);
  padding: 24px;
}
.faq-item h2 {
  font-size: 1.13rem;
  margin-bottom: 0.4em;
}
.faq-item .answer {
  font-size: 1rem;
  color: #232323;
}

/* CTA Banner */
.cta-banner {
  background: #388368;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(24,49,83,0.09);
  margin: 60px 0 0 0;
  padding: 44px 0;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 18px;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
}
.thank-you h1 {
  font-size: 2rem;
  color: #388368;
}

/* ========== HEADER/NAVIGATION ========== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(24,49,83,0.04);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 26px;
}
header img {
  max-height: 42px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #183153;
  padding: 8px 6px;
  border-radius: 2px;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #388368;
  background: #f5f0e9;
}

.cta-primary {
  background: #388368;
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 32px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(56,131,104,0.11);
  transition: background 0.2s, box-shadow 0.2s, transform 0.12s;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 10px;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #183153;
  color: #fff !important;
  box-shadow: 0 4px 16px 0 rgba(24,49,83,0.18);
  transform: scale(1.036);
  text-decoration: none;
}

/* ========== MOBILE NAV ========== */
.mobile-menu-toggle {
  display: none;
  background: #388368;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  padding: 8px 18px 8px 16px;
  border: none;
  margin-left: 24px;
  transition: background 0.18s;
  z-index: 60;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #183153;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #183153ee;
  box-shadow: 0 6px 32px 0 rgba(24,49,83,0.25);
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.81,0.33,0.22,1.01);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  font-size: 2.4rem;
  color: #fff;
  align-self: flex-end;
  margin: 15px 28px 0 0;
  padding: 2px 12px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #388368cc;
  color: #fcf8f3;
}
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 42px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.17rem;
  font-family: 'Merriweather', Georgia, serif;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff1a;
  text-shadow: 0 2px 10px #2221;
  width: 92vw;
  transition: color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #ade6d6;
}

/* ========== FOOTER  ========== */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 44px 0 16px 0;
  font-size: 0.95rem;
}
footer .container {
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-navigation a {
  color: #388368;
}
.footer-navigation a:hover {
  color: #183153;
  text-decoration: underline;
}
footer address {
  font-style: normal;
  color: #183153;
  margin-bottom: 10px;
  text-align: center;
}
footer p {
  color: #777;
}

/* ========== LEGAL/DISCLAIMER STYLES ========== */
.legal {
  background: #fff;
  padding: 40px 20px;
  margin-bottom: 60px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(24,49,83,0.04);
}
.disclaimer {
  color: #888;
  font-size: 0.98rem;
  background: #f6f5f2;
  border-left: 6px solid #38836899;
  margin: 40px 0 0 0;
  padding: 20px 26px;
  border-radius: 10px;
}

/* ========== MISCELLANEOUS (Company Info, Timeline, etc.) ========== */
.company-info {
  background: #f6f5f2;
  padding: 24px 18px;
  border-radius: 10px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid #ececec;
}
	
.timeline-graphic {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  margin: 12px 0;
}
.timeline-graphic img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 1px 2px #7772);
}
.text-section {
  margin-bottom: 18px;
}


/* ========== SPACING/UTILITY CLASSES ========== */
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-32 { margin-top: 32px !important; }
.pt-16 { padding-top: 16px !important; }
.pt-24 { padding-top: 24px !important; }
.gap-24 { gap: 24px !important; }

/* ========== BUTTON & INTERACTIONS ========== */
button, .cta-primary {
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, transform 0.13s;
}
button:active, .cta-primary:active {
  transform: scale(0.97);
}

/* Secondary etc. (for Cookie Banner & Modal) */
.button {
  display: inline-block;
  padding: 10px 27px;
  border-radius: 32px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin-right: 10px;
  color: #fff;
  background: #388368;
  box-shadow: 0 1px 6px 0 rgba(24,49,83,0.05);
}
.button:hover, .button:focus {
  background: #183153;
}
.button.secondary {
  background: #FCF8F3;
  color: #183153;
  border: 1px solid #388368;
}
.button.secondary:hover, .button.secondary:focus {
  background: #38836818;
  color: #183153;
  border-color: #183153;
}
.button.settings {
  background: #fff;
  color: #183153;
  border: 1px solid #183153;
}
.button.settings:hover, .button.settings:focus {
  background: #18315318;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  z-index: 1300;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffaf4fa;
  border-top: 1px solid #ececec;
  box-shadow: 0 -2px 12px 0 rgba(24,49,83,0.14);
  padding: 20px 25px 18px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.38s cubic-bezier(0.76,0.24,0.32,0.95), opacity 0.26s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .banner-text {
  color: #222;
  font-size: 1rem;
  max-width: 740px;
  text-align: center;
  margin-bottom: 2px;
}
.cookie-banner .banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .button {
  min-width: 135px;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #2227;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 32px 0 rgba(24,49,83,0.18);
  padding: 36px 24px 24px 24px;
  min-width: 326px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInPop 0.38s cubic-bezier(0.4,0.44,0.16,1.0);
}
@keyframes fadeInPop {
  from { opacity: 0; transform: translateY(60px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1.0); }
}
.cookie-modal h2 {
  color: #183153;
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-family: 'Merriweather', serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 0;
}
.cookie-modal label {
  color: #388368;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 7px;
}
.cookie-modal .toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #eee;
  position: relative;
  transition: background 0.18s;
  margin-left: 4px;
  border: 1px solid #dedede;
}
.cookie-modal .toggle.enabled {
  background: #388368;
  border: 1px solid #388368;
}
.cookie-modal .toggle:after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left 0.18s, background 0.18s;
  box-shadow: 0 1px 4px #18315318;
}
.cookie-modal .toggle.enabled:after {
  left: 18px;
  background: #183153;
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 17px;
  top: 16px;
  font-size: 1.8rem;
  color: #183153;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 2px 7px;
  transition: background 0.13s, color 0.13s;
  z-index: 3;
}
.cookie-modal .close-modal:hover {
  background: #38836811;
  color: #388368;
}


/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .features-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .feature, .card {
    min-width: 180px;
    padding: 18px 12px 14px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 60px;
  }
  .main-nav {
    display: none;
  }
  .cta-primary {
    padding: 11px 16px;
    font-size: 1rem;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid .feature, .feature {
    min-width: 0;
    width: 100%;
  }
  .content-wrapper {
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 20px 8px;
  }
  .hero {
    padding: 36px 0 26px;
  }
  .timeline-graphic {
    gap: 14px;
  }
  .cta-banner {
    padding: 30px 0;
    border-radius: 14px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .section, .legal {
    padding: 10px 2px;
  }
  .company-info {
    padding: 10px 6px;
  }
  .footer-navigation {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Hide scroll for mobile nav overlay */
.mobile-menu.open {
  overflow-y: auto;
}

/* ========== MICRO-INTERACTIONS ========== */
.feature img { transition: filter 0.23s, transform 0.18s; }
.feature:hover img, .feature:focus img {
  filter: drop-shadow(0 0 8px #38836833);
  transform: scale(1.07);
}
.testimonial-card { transition: box-shadow 0.18s, background 0.18s; }
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(56,131,104,0.13);
  background: #f0ebe6;
}
.faq-item { transition: box-shadow 0.19s, background 0.18s; }
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 4px 20px 0 rgba(24,49,83,0.11);
  background: #f3f2ed;
}
/* Smooth transitions for cookie banner, nav overlays, and modal */

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