/* ==========================================================================
   IMMO KOMPASS DEUTSCHLAND – Sophisticated Monochrome CSS by ChatGPT
   ==========================================================================
   Monochrome_Sophisticated | Brand: #14213d, #fca311, #e5e5e5
   Fonts: Montserrat (Display), Open Sans (Body)
   LAYOUT: FLEXBOX ONLY, NO GRID/COLUMNS — Mobile-first Responsive
   ========================================================================== */

/* ---- RESET & BASE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}
*, *:before, *:after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, hr {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
html, body {
  background: #fff;
  color: #1a1a1a;
  min-height: 100vh;
}
body {
  font-family: 'Open Sans', Arial, Helvetica Neue, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  background: #fafbfc;
}
a {
  color: #14213d;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.5,.1,.1,1);
}
a:hover, a:focus {
  color: #fca311;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
strong {
  font-weight: 600;
}
hr {
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  margin: 32px 0;
}

/* ---- TYPOGRAPHY ---- */
h1, .display, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.13;
  letter-spacing: -0.5px;
  color: #14213d;
  margin-bottom: 18px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #111;
  letter-spacing: -0.25px;
  margin-bottom: 14px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: #313131;
  margin-bottom: 10px;
}
p, li, span, em, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #242424;
}
.text-section h2, .text-section h3 {
  color: #181b1e;
}
em {
  font-style: italic;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width:768px) {
  h1, .hero h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  .section { padding: 60px 0; }
}

/* ---- CONTAINERS ---- */
.container {
  width: 100vw;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ---- FLEX PATTERNS ---- */
.card-container, .features ul, .steps ol, .services ul, .card-grid, .content-grid, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.features ul, .services ul, .steps ol {
  flex-direction: column;
  gap: 18px;
}
.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: 20px;
  margin-bottom: 20px;
  background: #fafbfc;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 1.5px 16px 0 rgba(50,50,50,0.05);
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px 0 rgba(20, 33, 61, 0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 240px;
  max-width: 100%;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.23s cubic-bezier(.6,.05,.28,1);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 44px rgba(20, 33, 61, 0.14);
  border-color: #d8d8d8;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ---- HERO / CTA---- */
.hero {
  background: linear-gradient(120deg, #fff 65%, #e5e5e5 100%);
  padding: 64px 0 32px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}

.cta-btn, .content-wrapper .cta-btn, a.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14213d;
  color: #fff;
  padding: 12px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(20,33,61,0.06);
  letter-spacing: 0.01em;
  text-decoration: none;
  margin-top: 14px;
  cursor: pointer;
  transition: background 0.20s, color 0.18s, box-shadow 0.25s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fca311;
  color: #14213d;
  box-shadow: 0 6px 32px 0 rgba(44,25,1,0.11);
}

/* ---- NAVBAR ---- */
header {
  position: relative;
  background: #fff;
  box-shadow: 0 1.5px 12px 0 rgba(30,30,30,0.03);
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 60px;
  padding: 0 0 0 4px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 12px;
  color: #14213d;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.16s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e5e5e5;
  color: #14213d;
}
.main-nav .cta-btn {
  margin-left: 18px;
  background: #fca311;
  color: #14213d;
  font-weight: 700;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #14213d;
  color: #fff;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 18px;
  vertical-align: middle;
}

/* ---- MOBILE NAV ---- */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 2rem;
  color: #14213d;
  cursor: pointer;
  margin-left: auto;
  z-index: 120;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e5e5e5;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(24, 24, 24, 0.93);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.67,.14,.29,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fca311;
  padding: 22px 24px 12px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0 32px;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  margin: 6px 0;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #fca311;
  color: #14213d;
}
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* ---- SECTIONS & SPACING ---- */
section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 rgba(20, 33, 61, 0.045);
  margin-bottom: 32px;
  padding: 40px 8px;
  transition: box-shadow 0.21s;
}
section.hero {
  background: linear-gradient(110deg, #fff 68%, #e5e5e5 100%);
  box-shadow: none;
}
section.about, section.contact, section.info, section.services, section.team, section.steps, section.cta {
  margin-bottom: 60px;
  padding: 40px 18px;
}

@media (min-width: 768px) {
  section { margin-bottom: 48px; padding: 56px 22px; }
  .hero { padding: 76px 0 54px; }
}

/* ---- FEATURES LIST & ICONS ---- */
.features ul li, .services ul li, .about ul li, .team ul li, .steps ol li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  padding-bottom: 6px;
  color: #141414;
  flex-direction: column;
}
.features ul li img, .services ul li img {
  height: 22px;
  width: 22px;
  margin-top: 1px;
  filter: grayscale(1) contrast(1.2);
}
@media (min-width:768px) {
  .features ul, .services ul, .steps ol { flex-direction: row; gap: 32px; }
  .features ul li, .services ul li, .about ul li, .team ul li, .steps ol li {
    min-width: 180px;
    max-width: 380px;
  }
}

/* ---- TESTIMONIAL CARDS ---- */
.testimonials .content-wrapper {
  gap: 20px;
}
.testimonial-card p {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #181b1e;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #656565;
  align-self: flex-end;
}
.testimonial-card {
  cursor: default;
  border-left: 4px solid #fca311;
  background: #f7f7f7;
  min-width: 240px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover {
  border-left: 4px solid #14213d;
}

/* ---- CARDS ---- */
.card {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 18px 0 rgba(20, 33, 61, 0.065);
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 6px 40px 0 rgba(20, 33, 61, 0.14);
  border-color: #d9d9d9;
}

/* ---- FOOTER ---- */
footer {
  background: #181b1e;
  border-radius: 0 0 12px 12px;
  color: #fff;
  padding: 40px 0 32px 0;
  margin-top: 48px;
}
footer .container {
  padding: 0 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.86;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fca311;
  color: #181b1e;
  opacity: 1;
}
footer .text-section {
  color: #d2d2d2;
  margin-bottom: 16px;
}
footer h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.newsletter-signup {
  background: #232323 !important;
  color: #fff;
  padding: 24px 28px;
  border-radius: 10px;
  margin-top: 18px;
  min-width: 220px;
  box-shadow: 0 1.5px 10px #1111;
}
.newsletter-signup p {
  color: #e5e5e5;
  font-size: 1rem;
}

/* ---- FORMS ---- */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border: 1px solid #dcdcdc;
  border-radius: 7px;
  font-size: 1rem;
  padding: 10px 15px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 18px 0;
  background: #fafbfc;
  color: #181b1e;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #14213d;
  background: #f0f4f8;
  transition: border-color 0.13s;
}
button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 22px;
  background: #14213d;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #fca311;
  color: #14213d;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background-color: #101010;
  color: #fff;
  box-shadow: 0 -3px 22px rgba(10,10,10,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 16px 14px 16px;
  z-index: 2000;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: transform 0.28s cubic-bezier(.6,.05,.29,1), opacity 0.22s;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 24px;
  border: none;
  margin-right: 7px;
  margin-bottom: 4px;
  background: #e5e5e5;
  color: #101010;
  box-shadow: 0 1.5px 8px 0 rgba(20,33,61,0.04);
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
}
.cookie-btn.accept {
  background: #fca311;
  color: #14213d;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #14213d;
  color: #fff;
}
.cookie-btn.reject {
  background: #a6a6a6;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #111;
  color: #fca311;
}
.cookie-btn.settings {
  background: #fff;
  color: #14213d;
  border: 1px solid #fca311;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fca311;
  color: #14213d;
}

/* ---- COOKIE MODAL ---- */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2400;
  background: #fff;
  color: #101010;
  border-radius: 16px;
  box-shadow: 0 6px 44px 0 rgba(24, 24, 24, 0.22);
  padding: 40px 30px;
  min-width: 320px;
  max-width: 95vw;
  min-height: 220px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.17s, transform 0.27s cubic-bezier(.44,.14,.29,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.95);
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: #14213d;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 1rem;
  color: #181b1e;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #fca311;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 13px;
  margin-top: 7px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 8px 18px;
}
.cookie-modal .category-label {
  font-weight: 500;
  margin-left: 3px;
  color: #222;
}

/* ---- ANIMATIONS & TRANSITIONS ---- */
.cta-btn, .card, .testimonial-card, section, .cookie-consent-banner, .cookie-modal, .mobile-menu {
  transition: box-shadow 0.22s, background 0.19s, border-color 0.17s, color 0.16s, transform 0.26s cubic-bezier(.67,.14,.29,1), opacity 0.22s;
}

/* ---- RESPONSIVE: MOBILE-FIRST ---- */
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .main-nav { flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
  .hero, .hero .content-wrapper { align-items: flex-start; }
  .content-wrapper, .text-section { gap: 16px; }
  .card-grid, .content-grid, .features ul, .services ul {
    flex-direction: column;
    gap: 14px;
  }
  .section, section.about, section.contact, section.info, section.services, section.team, section.cta {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  h1, .hero h1 { font-size: 1.45rem; }
  h2 { font-size: 1.09rem; }
  .cta-btn, button, .btn { font-size: 1rem; padding: 10px 18px; }
  .footer-nav a { font-size: 0.98rem; }
  .newsletter-signup { padding: 18px 12px; font-size: 0.97rem; }
}

/* ---- PRINT FRIENDLY ---- */
@media print {
  * { color: #181b1e !important; background: #fff !important; box-shadow: none !important; }
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  a:after { content: " (" attr(href) ")"; }
}

/* ---- Utilities ---- */
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.gap-8 { gap: 8px !important; }
.gap-12 { gap: 12px !important; }
.gap-20 { gap: 20px !important; }

/* ---- VISUAL HIERARCHY ---- */
.section > h2, .section h3, .content-wrapper > h2, .content-wrapper > h3 {
  margin-bottom: 12px;
}
.card + .card, .testimonial-card + .testimonial-card { margin-top: 24px; }

/* ---- MONOCHROME EFFECTS ---- */
.card, .testimonial-card, section, .newsletter-signup {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2.5px 24px #eee;
}

/* ---- ACCESSIBILITY ---- */
:focus {
  outline: 2px dashed #fca311;
  outline-offset: 3px;
}

/* ---- BRAND COLORS for QUOTES/KEY TEXT ---- */
blockquote, .highlight {
  border-left: 4px solid #fca311;
  background: #faf4e0;
  color: #181b1e;
  margin: 14px 0 18px 0;
  padding: 14px 30px 14px 20px;
  border-radius: 5px;
  font-size: 1.07rem;
}

/* ---- Z-INDEX ROUTING for MODALS & OVERLAYS ---- */
.modal, .cookie-modal, .mobile-menu { z-index: 9999; }
footer p, footer h3 {
  color: #f7f7f7 !important;
}
/* -- END OF CSS -- */
