/* ===========================================================
   Olden Trail Immobilien – SOFT PASTEL FLEXBOX THEME
   Unmistakable soft pastel, dreamy, modern, and professional
   =========================================================== */
/* 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,
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-size: 100%;
  background: transparent;
  box-sizing: border-box;
}
html {
  width: 100vw;
  min-height: 100vh;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #1F2940;
  background-color: #F8FAFC;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1F3B5C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EDA93B;
  outline: none;
}
ul, ol {
  margin: 0 0 20px 20px;
  padding-left: 18px;
}
blockquote {
  margin: 0 0 12px 0;
  padding-left: 20px;
  border-left: 4px solid #C5DEFD;
  color: #354770;
  font-style: italic;
  font-size: 17px;
  background: rgba(232, 238, 255, 0.55);
}
strong {
  font-weight: 600;
}
address {
  font-style: normal;
  color: #273E58;
  font-weight: 500;
  margin-bottom: 12px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #20365A;
  line-height: 1.18;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: #37587D;
}
.section h2, .content-wrapper h2 { margin-top: 10px; }
p, li, blockquote, address { font-size: 1rem; }

/*==============================
  BRAND PASTEL COLOR PALETTE
==============================*/
:root {
  --c-primary: #1F3B5C;
  --c-secondary: #E7EDF4;
  --c-accent: #EDA93B;
  --c-bg: #F8FAFC;
  --c-pastel-blue: #D5E6FA;
  --c-pastel-pink: #F6E4EF;
  --c-pastel-lilac: #EDE3F6;
  --c-pastel-yellow: #FCF5E7;
  --c-pastel-mint: #E7FAF2;
  --c-text-main: #27384B;
  --c-text-dark: #20365A;
  --c-testimonial-bg: #F3F7FB;
  --c-card-bg: #FFFFFF;
  --c-border: #E2E6EE;
  --c-shadow: rgba(50, 70, 130, 0.08);
}

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

.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--c-pastel-blue);
  box-shadow: 0 2px 8px var(--c-shadow);
  transition: box-shadow 0.22s;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: linear-gradient(120deg, var(--c-pastel-blue) 60%, var(--c-pastel-lilac) 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 24px -16px var(--c-shadow);
  margin-bottom: 52px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 { color: var(--c-primary); }
.hero p { color: #355199; }

/*==============================
  HEADER & NAVIGATION
==============================*/
header {
  width: 100%;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 0 22px 0;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--c-border);
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 18px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px #e8eefd66);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
}
.main-nav a {
  color: var(--c-primary);
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--c-pastel-mint);
  color: var(--c-accent);
}
.cta-btn {
  background: linear-gradient(90deg, var(--c-accent) 75%, #ffd59f 100%);
  color: #fff;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  border: none;
  padding: 11px 28px;
  margin-left: 16px;
  box-shadow: 0 2px 8px #EDA93B18;
  cursor: pointer;
  transition: background 0.23s, color 0.2s, box-shadow 0.22s;
  outline: none;
  text-align: center;
  position: relative;
}
.cta-btn:active, .cta-btn:focus {
  background: var(--c-accent);
  color: #fff;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #f4c965 55%, #eda93b 100%);
  color: #fff;
  box-shadow: 0 6px 18px #edbb5a33;
}

/*==============================
  MOBILE NAVIGATION
==============================*/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--c-primary);
  cursor: pointer;
  margin-left: 20px;
  z-index: 21;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--c-accent);
  color: var(--c-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(121deg, #E7EDF4 80%, #f6e4ef 100%);
  box-shadow: 0 12px 36px #1F3B5C1A, 0 0 0 1024px rgba(31,59,92,0.13);
  z-index: 555;
  transform: translateX(-100%);
  transition: transform 0.31s cubic-bezier(.39,1.67,.38,.86);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 26px;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.4rem;
  color: #6b849f;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--c-accent);
  outline: 1.5px dashed var(--c-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--c-pastel-mint);
  color: var(--c-accent);
}

@media (max-width: 992px) {
  .main-nav {
    gap: 12px;
    font-size: 1rem;
  }
  .cta-btn { font-size: 1rem; padding: 10px 20px; }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 15px 0 15px 0;
  }
  .main-nav { display: none; }
  .cta-btn { margin-left: auto; }
  .mobile-menu-toggle { display: block; }
  .container { padding: 0 8px; }
  .hero { min-height: 245px; padding: 18px 0; }
}
@media (max-width: 520px) {
  .logo img { height: 30px; }
  .cta-btn { padding: 8px 10px; font-size: 0.99rem; }
}

/*==============================
  FOOTER & FOOTER NAV
==============================*/
footer {
  width: 100%;
  background: #F8FAFC;
  border-top: 1px solid var(--c-border);
  margin-top: 54px;
  padding: 32px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 4px;
  font-size: 1.01rem;
}
.footer-nav a {
  color: #727D99;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--c-accent);
  text-decoration: underline;
}
footer p {
  color: #8BA1C4;
  font-size: 0.99rem;
}

/*==============================
  BASIC FLEXBOX LAYOUTS
==============================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--c-card-bg);
  border-radius: 16px;
  box-shadow: 0 3px 11px var(--c-shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 6px 18px #b9d5ed44;
  transform: translateY(-3px) scale(1.012);
}
.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) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--c-testimonial-bg);
  border-radius: 15px;
  box-shadow: 0 2px 8px #bed5ea20;
  margin-bottom: 22px;
  transition: box-shadow 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 14px #d4e7fe33;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACE & WRAPPING FOR TEXT/SECTIONS */
section, .section {
  margin-bottom: 60px;
  padding-top: 0;
}
.text-section {
  margin-bottom: 18px;
  color: #354770;
  font-size: 1rem;
}

/*==============================
  BUTTONS & INTERACTIVE
==============================*/
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  transition: all 0.17s cubic-bezier(.58, .14, .55, 1.38);
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 1.5px solid var(--c-accent);
}

/* Others: For inner forms or more visible, e.g. accept-cookie */
.btn, .cookie-btn {
  min-width: 120px;
  padding: 11px 20px;
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  background: var(--c-accent);
  transition: background 0.22s, color 0.19s, box-shadow 0.22s;
  margin: 0 8px 0 0;
  box-shadow: 0 2px 8px #edbb5a18;
}
.cookie-btn.reject {
  background: #bbbfc7;
  color: #43536c;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
  box-shadow: none;
}
.cookie-btn:hover {
  background: #D19029;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #70798B;
  color: #fff;
}
.cookie-btn.settings:hover {
  border-color: #fab656;
  color: #e29c24;
  background: #f1e7cf;
}

/*==============================
  RESPONSIVE ADJUSTMENTS
==============================*/
@media (max-width: 768px) {
  .container { padding: 0 5.5vw; }
  .content-wrapper { gap: 12px; }
  .section, section { padding: 25px 7px; margin-bottom: 34px; }
  .card { padding: 17px 9px; }
  .testimonials, .testimonial-card { gap: 14px; padding: 13px; }
  .hero h1 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  h1, .hero h1 { font-size: 1.17rem; }
  h2 { font-size: 1rem; }
  .footer-nav { gap: 10px; font-size: 0.99rem;}
  .section { padding: 12px 2px; }
}

/*==============================
  FORMS, LINKS, TEXT
==============================*/
input, textarea, select {
  border-radius: 10px;
  border: 1.5px solid var(--c-border);
  padding: 10px 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  outline: none;
  margin-bottom: 18px;
  width: 100%;
  background: #fff;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--c-accent);
}

/*==============================
  COOKIE CONSENT BANNER
==============================*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(88deg, #f4f7fa 70%, #f6e4ef 100%);
  box-shadow: 0 -2px 16px #aac6d02f;
  z-index: 2500;
  padding: 19px 12px 23px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  border-radius: 18px 18px 0 0;
  border-top: 2px solid #e5dfec;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.67,1.7,.43,.85), opacity 0.2s;
}
.cookie-banner .cookie-btn { margin-top: 0; margin-bottom: 0; }
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  color: #3a5066;
  flex: 1 1 0;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; gap: 13px; align-items: flex-start; padding: 14px 6px 18px 6px; }
  .cookie-banner .cookie-btn { margin-bottom: 7px; }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45,58,99,0.10);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-inner {
  background: linear-gradient(91deg, #E7EDF4 90%, #e9e1f3 100%);
  border-radius: 18px;
  box-shadow: 0 12px 42px #b1c6e555;
  padding: 38px 30px;
  max-width: 400px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option {
  display: flex; align-items: center;
  gap: 10px;
}
.cookie-option label {
  font-size: 1rem;
  color: #40494d;
}
.cookie-modal-title {
  font-size: 1.21rem;
  font-weight: 700;
  color: var(--c-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.close-cookie-modal {
  position: absolute;
  right: 18px; top: 12px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #7b8ba8;
  cursor: pointer;
  transition: color 0.11s;
}
.close-cookie-modal:hover { color: var(--c-accent); }

/*==============================
  UTILITIES
==============================*/
.mt-0 { margin-top: 0; }
.mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0 !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.hide { display: none !important; }

/*==============================
  MICRO-INTERACTIONS & ANIMATION
==============================*/
a, button, .cta-btn, .btn, .cookie-btn, .card, .testimonial-card {
  transition: all 0.18s cubic-bezier(.28,1.22,.38,.86);
}
.card:active { transform: scale(0.989); }
.cta-btn:active, .btn:active, .cookie-btn:active { transform: scale(0.96); }

/* Subtle fade in for sections */
.section, .card, .testimonial-card, .hero, .cookie-banner, .cookie-modal-inner, .footer-nav a {
  animation: fadeInSoft 0.67s cubic-bezier(.49,1.7,.43,.82);
}
@keyframes fadeInSoft {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: none; }
}

/*==============================
  ACCESSIBILITY & FOCUS VISIBLE
==============================*/
*:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  z-index: 2;
}

/*==============================
  TYPOGRAPHY HIERARCHY
==============================*/
h1 { font-size: 2.3rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.18rem; }
h4, h5 { font-size: 1rem; font-weight: 500; }
@media (max-width: 768px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  h3, h4 { font-size: 1rem; }
}
p, li { font-size: 1rem; }

/*==============================
  TESTIMONIALS / CLIENT VOICES
==============================*/
.testimonial-card {
  background: linear-gradient(95deg, var(--c-pastel-blue) 63%, var(--c-pastel-pink) 100%);
  color: #26314d;
  border-left: 5px solid #A0B6E4;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 14px #acd6fba4;
}
.testimonial-card p, .testimonial-card strong { color: #1F3B5C; }
.testimonial-card blockquote {
  border-left: none;
  background: transparent;
  padding: 0 0 8px 0;
  color: #314278;
  font-size: 1.07rem;
  font-style: normal;
}

/*==============================
  PASTEL DECORATIVE DETAILS
==============================*/
.section {
  border: none;
  background: linear-gradient(105deg, #e9f3f9 80%, #f6e4ef 100%);
}
.card {
  background: linear-gradient(99deg, #fff 80%, #f6e4ef 100%);
  border: 1px solid var(--c-border);
}

/**** END OF THEME ****/