/* ===================================================
   LUXDOMIZIL IMMOBILIEN – Modern Bold Style CSS
   Author: Senior CSS & UI Designer
   =================================================== */

/* ===== 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, figure, figcaption, hr {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.5;
  color: #0C223A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, footer, header, main, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

/* ===== VARIABLES (with fallback) ===== */
:root {
  --primary: #0C223A;
  --secondary: #BAC1C9;
  --accent: #F2D16B;
  --neutral: #fff;
  --neutral-dark: #202833;
  --error: #d9393e;
  --radius: 16px;
  --shadow-card: 0 4px 24px 0 rgba(12,34,58,0.08);
  --shadow-hover: 0 6px 32px 0 rgba(12,34,58,0.16);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
}

/* =============== TYPOGRAPHY =============== */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--primary);
}
h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}
p, li, address, .feature-descriptions p, .testimonial-meta, .faq-content, .privacy-policy-text, .gdpr-compliance-text, .terms-of-use-text, .cookie-policy-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--neutral-dark);
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 32px;
}
strong { font-weight: 700; color: var(--primary); }

/* =============== LAYOUTS & CONTAINERS =============== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
 
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 280px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial-meta {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

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

.features, .services, .services-list, .team-grid, .usp-grid, .topics-grid, .faq-accordion, .faq-small {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-grid {
  gap: 32px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 64px 0 48px 0;
}
.hero .container {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #fff;
}
.hero .subheadline {
  color: var(--accent);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(12,34,58,0.08);
  z-index: 50;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color 0.2s;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover
do, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.cta.primary {
  background: var(--accent);
  color: var(--primary);
  border-radius: 32px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px 32px;
  margin-left: 24px;
  box-shadow: var(--shadow-card);
  transition: background 0.2s, transform 0.18s, color 0.2s;
  letter-spacing: 0.04em;
  cursor: pointer;
  outline: none;
  border: none;
  display: inline-block;
  position: relative;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-hover);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 110;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus{
  background: var(--accent);
  color: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.5,0,0.2,1);
  box-shadow: 0 2px 32px 0 rgba(12,34,58,0.14);
  padding: 0 18px;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  z-index: 201;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 90px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  border-radius: 8px;
  padding: 12px 0 12px 10px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .cta.primary { margin-left: 8px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  .cta.primary { font-size: 1rem; padding: 10px 16px; }
}
@media (max-width: 900px) {
  header .container { gap: 8px; }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .cta.primary { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  header img {
    height: 38px;
  }
  .container {
    padding: 0 10px;
  }
  .hero { padding: 42px 0 32px 0; }
  .hero .container { padding: 0 5px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}

/* ===== SECTIONS, SPACING, FLEX PATTERNS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
section.cta {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 38px;
}
section.cta h2,
section.cta a.cta.primary {
  color: #fff;
}
section.cta a.cta.primary {
  background: #fff;
  color: var(--primary);
  margin: 0;
}
section.cta a.cta.primary:hover, section.cta a.cta.primary:focus {
  background: var(--accent);
  color: var(--primary);
}

.feature-grid, .service-overview, .usp-grid, .topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0;
}
.feature-grid li, .usp-grid li, .topics-grid li, .service-overview li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.08rem;
  font-weight: 600;
  background: #f6f8fa;
  color: var(--primary);
  padding: 16px 20px;
  border-radius: 12px;
  min-width: 225px;
  min-height: 56px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.16s, background 0.15s;
}
.feature-grid li:hover, .usp-grid li:hover, .topics-grid li:hover, .service-overview li:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.feature-grid img, .usp-grid img, .service-overview img {
  width: 26px; height: 26px;
}

.feature-descriptions, .feature-list, .expert-tips {
  margin-top: 16px;
  margin-bottom: 12px;
}

.text-section {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul {
  padding-left: 18px;
  margin: 4px 0 8px 0;
}
.text-section ul li::before {
  content: '\2022';
  color: var(--accent);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.text-section ul li {
  padding: 2px 0 2px 0;
  font-size: 1rem;
}

.map-embed {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 12px;
  max-width: 480px;
}

@media (max-width: 900px) {
  .feature-grid, .service-overview, .usp-grid, .topics-grid {
    gap: 16px;
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 24px 0 12px 0;
  }

  .feature-grid, .service-overview, .usp-grid, .topics-grid {
    gap: 12px;
    flex-direction: column;
  }
  .testimonial-card, .card {
    min-width: unset;
    max-width: 100%;
    padding: 18px;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin: 24px 0;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 300px;
  padding: 24px;
  transition: box-shadow 0.18s, transform 0.14s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.025);
}
.star-rating {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: 0.07em;
}
.testimonials > .container {
  padding: 0 8px;
}

@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
}

/* ====== FAQ ACCORDION & SMALL ====== */
.faq-accordion, .faq-small {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  display: flex;
  flex-direction: column;
  background: #f6f8fa;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.16s;
}
.faq-item:hover, .faq-item.active {
  background: var(--accent);
}
.faq-item h3 {
  font-size: 1.07rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.faq-content {
  font-size: 1rem;
  color: var(--neutral-dark);
  margin-top: 7px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  padding: 45px 0 20px 0;
  color: #fff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -6px 32px rgba(12,34,58,0.12);
}
footer .container {
  align-items: flex-start;
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.95;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border 0.15s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  opacity: 1;
}
footer address {
  font-style: normal;
  font-size: 1rem;
  color: #fff;
  opacity: 0.86;
  margin-top: 10px;
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-nav { gap: 10px; }
  footer {
    padding: 32px 0 12px 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
}

/* ====== BUTTONS & INTERACTIVES ====== */
button, .cta, .main-nav a, .mobile-nav a {
  outline: none;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s, transform 0.12s;
}
button:focus-visible {
  box-shadow: 0 0 0 3px var(--accent);
}

/* Custom radio/checkbox for cookie modal */
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--accent);
}

/* ====== MODALS / DIALOGS ====== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12,34,58, 0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.23s;
}
.modal.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.modal-dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(12,34,58,0.20);
  padding: 38px 32px;
  max-width: 390px;
  min-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  animation: modalShow 0.38s cubic-bezier(0.2,0.7,0.5,1) 1;
}
@keyframes modalShow {
  0% { transform: translateY(60px) scale(0.92); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-dialog h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.14s;
}
.modal-close:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ====== COOKIE CONSENT BANNER & MODAL ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 32px rgba(12,34,58,0.17);
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 26px 40px;
  border-top: 5px solid var(--accent);
  min-height: 62px;
  animation: slideUpBanner 0.41s cubic-bezier(0.3,0.8,0.5,1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(70px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.btn-cookie, .btn-cookie-settings {
  border: none;
  padding: 10px 18px;
  border-radius: 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: var(--accent);
  color: var(--primary);
}
.btn-cookie.reject {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-cookie.reject:hover {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}
.btn-cookie-settings {
  background: var(--accent);
  color: var(--primary);
  border: none;
}
.btn-cookie-settings:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 13px;
    gap: 18px;
    font-size: 0.96rem;
  }
  .cookie-banner__text { margin-right: 0; }
}

/* Cookie modal popup in modal class defined already */
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-modal-categories label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.cookie-category-essential {
  color: var(--primary);
  font-weight: 700;
  opacity: 0.8;
}

/* =============== UTILITY CLASSES =============== */
.mb-0 { margin-bottom: 0!important; }
.mt-0 { margin-top: 0!important; }
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }
.bold { font-weight: 700!important; }
.flx { display: flex!important; }
.flx-center { justify-content: center; align-items: center; }

/* ====== VISUAL HIERARCHY / BRAND GEOMETRICS ====== */
hr {
  border: 0;
  border-top: 2px solid var(--accent);
  margin: 20px 0;
}

/* =============== MEDIA QUERIES FOR RESPONSIVENESS =============== */
@media (max-width: 1024px) {
  .container { max-width: 100%; }
  section, .section { padding: 32px 8px; }
}
@media (max-width: 900px) {
  .card-container, .content-grid, .features, .usp-grid {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .content-wrapper { padding: 0 3px; }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card-container, .feature-grid, .usp-grid, .topics-grid {
    flex-direction: column;
    gap: 12px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .testimonial-card, .card { padding: 14px 8px; }
}
@media (max-width: 500px) {
  .card, .testimonial-card { padding: 7px 4px; }
}

/* =============== SPECIAL CLASSES FOR LEGAL & PRIVACY SECTIONS =============== */
.privacy-policy-text, .gdpr-compliance-text, .cookie-policy-text, .terms-of-use-text {
  color: var(--neutral-dark);
  background: #f3f5f8;
  padding: 22px 18px;
  border-radius: 13px;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: var(--shadow-card);
  margin: 12px 0 0 0;
}

.privacy-policy-text h2, .gdpr-compliance-text h2, .cookie-policy-text h2, .terms-of-use-text h2 {
  font-size: 1.18rem;
  color: var(--primary);
  margin: 22px 0 7px 0;
}

.privacy-policy-text ul, .gdpr-compliance-text ul, .cookie-policy-text ul, .terms-of-use-text ul {
  padding-left: 20px;
  margin: 8px 0 10px 0;
}


/* =============== ANIMATIONS & MICRO-INTERACTIONS =============== */
.cta.primary, .btn-cookie, .btn-cookie-settings, .main-nav a, .mobile-nav a, .testimonial-card, .card {
  transition: background 0.18s, color 0.16s, box-shadow 0.22s, transform 0.15s;
}

[tabindex]:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* =============== PRINT/ACCESSIBILITY =============== */
@media print {
  header, footer, nav, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #000; background: #fff; }
}

/* =============== END OF FILE =============== */
