:root {
  --navy: #002451;
  --navy-dark: #001229;
  --blue: #003c86;
  --blue-bright: #006ef5;
  --green: #1a9b5c;
  --green-dark: #147a48;
  --bg-light: #f5f5f5;
  --text: #1c1c1c;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }

/* Test banner */
.test-banner {
  background: #fff3cd;
  color: #664d03;
  text-align: center;
  font-size: 13px;
  padding: 6px 12px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-nav { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  border: none; background: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: #f0f2f5; }
.lang-select {
  font-size: 14px; color: var(--navy); cursor: pointer;
  padding: 6px 10px; border-radius: 20px; background: #f0f2f5;
}
.btn { cursor: pointer; text-decoration: none; display: inline-block; font-weight: 600; }
.btn-pill {
  border-radius: 24px; padding: 10px 18px; font-size: 14px; border: none;
}
.btn-outline-blue { background: var(--blue-bright); color: #fff; }
.btn-navy {
  background: var(--navy); color: #fff; padding: 14px 24px;
  border-radius: 10px; font-size: 15px; border: none;
}
.btn-navy:hover { background: var(--navy-dark); }

/* Breadcrumb */
.breadcrumb-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 20px auto 8px;
  font-size: 14px;
}
.breadcrumb { color: #666; }
.breadcrumb span { margin: 0 4px; }
.badge-pill {
  background: #eaf1ff; color: var(--blue); padding: 6px 14px;
  border-radius: 20px; font-size: 13px; font-weight: 600;
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; padding: 40px 24px 60px;
}
.hero h1 { font-size: 40px; color: var(--navy); margin: 0 0 8px; line-height: 1.15; }
.hero h2 { font-size: 20px; color: var(--navy); font-weight: 600; margin: 0 0 16px; }
.hero p { color: #444; line-height: 1.6; margin-bottom: 24px; }
.hero-image img { border-radius: var(--radius); }

/* Chatbot inline card */
.chatbot-inline { margin-bottom: 50px; }
.chatbot-card {
  background: var(--bg-light);
  border: 1px solid #e2e6ec;
  border-radius: var(--radius);
  padding: 16px 20px;
}
.chatbot-card-label {
  font-weight: 700; color: var(--navy); margin-bottom: 10px; font-size: 15px;
}

/* Dark section */
.dark-section { background: var(--navy); padding: 60px 0; }
.section-title-light { color: #fff; font-size: 32px; margin: 0 0 16px; }
.light-text { color: #d7e0ee; line-height: 1.6; }
.light-text.small { font-size: 13px; color: #aebbd1; margin-top: 24px; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li {
  color: #fff; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}

/* Split sections */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 60px 24px;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image img { border-radius: var(--radius); }
.split-text h2 { color: var(--navy); font-size: 30px; }
.split-text p { color: #444; line-height: 1.6; }

.accordion {
  border-top: 1px solid #ddd; padding: 14px 0; cursor: pointer;
}
.accordion summary { font-weight: 600; color: var(--navy); }
.accordion p { margin: 10px 0 0; color: #555; }

/* CTA cards */
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 24px 60px;
}
.cta-card {
  position: relative; border-radius: var(--radius); padding: 30px;
  min-height: 180px; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center;
}
.cta-blue { background: linear-gradient(135deg, #1e5fb4, #0b3d8a); }
.cta-green { background: linear-gradient(135deg, #1fae66, #106b3f); }
.cta-kicker { font-size: 14px; opacity: 0.9; margin-bottom: 6px; }
.cta-title { font-size: 26px; font-weight: 700; }
.cta-arrow {
  position: absolute; right: 24px; bottom: 24px;
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  color: var(--navy); display: flex; align-items: center; justify-content: center;
}

/* Wohnanlagen */
#wohnanlagen h2 { color: var(--navy); font-size: 32px; }
#wohnanlagen > p { color: #444; max-width: 700px; line-height: 1.6; }

.filter-row { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.filter-pill {
  border: 1px solid #ccc; background: #fff; border-radius: 24px;
  padding: 10px 18px; font-size: 14px; cursor: pointer; color: var(--navy);
}
.filter-pill.active { border-color: var(--green); color: var(--green); background: #eafaf1; }
.filter-pill.outline { border-color: var(--navy); }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px;
}
.wohn-card {
  border: 1px solid #e5e5e5; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; position: relative;
  transition: box-shadow .2s;
}
.wohn-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.wohn-card img { height: 170px; object-fit: cover; width: 100%; }
.wohn-card-body { padding: 16px; position: relative; }
.wohn-card-body h3 { margin: 0 0 4px; color: var(--navy); font-size: 18px; }
.wohn-card-body p { margin: 0 0 10px; font-size: 13px; color: #666; }
.tag {
  display: inline-block; background: #f0f2f5; color: var(--navy);
  font-size: 12px; padding: 4px 10px; border-radius: 12px; margin-right: 6px;
}
.wohn-card .arrow {
  position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px;
  border: 1px solid #ddd; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: var(--navy);
}
.wohn-card-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--navy); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 6px;
}

/* FAQ */
.faq-section { padding: 20px 24px 80px; }
.faq-section h2 { color: var(--navy); font-size: 32px; margin-bottom: 30px; }
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.faq-col h3 { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #9fb0c9; padding: 24px 0; font-size: 13px; }

@media (max-width: 860px) {
  .hero, .split-section, .cta-grid, .faq-columns { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .split-section.reverse { direction: ltr; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}
