/* Jaro HOMES – gemeinsame Stylesheet-Datei
   Seiten werden über Klassen am <body> getrennt:
   page-index, page-ratgeber ab 1163, page-immobilien ab 1708, page-impressum, page-datenschutz.
*/
/* ==========================================================
   INDEX
   ========================================================== */
body.page-index {
--bg: #f5f1ea;
      --surface: #fbf8f3;
      --white: #ffffff;
      --text: #4a4037;
      --muted: #7e7268;
      --line: #d0c3b3;
      --gold: #c39a5b;
      --gold-dark: #ab8245;
      --shadow: 0 10px 30px rgba(79, 58, 36, 0.08);
      --radius: 18px;
      --max: 1280px;
}

body.page-index, body.page-index * {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body.page-index {
margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.5;
}

body.page-index img {
max-width: 100%; display: block;
}

body.page-index a {
color: inherit; text-decoration: none;
}

body.page-index .container {
width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
}

body.page-index .serif {
font-family: Georgia, "Times New Roman", serif;
      letter-spacing: -0.02em;
}

body.page-index header {
position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(251, 248, 243, 0.96);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(199, 188, 175, 0.5);
}

body.page-index .nav {
min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
}

body.page-index .brand {
display: flex;
      align-items: center;
      gap: 14px;
      min-width: 220px;
}

body.page-index .brand-icon {
width: 52px;
      height: 52px;
      border: 2px solid var(--gold);
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: var(--gold);
      font-size: 1.25rem;
      font-weight: 700;
      background: linear-gradient(180deg, #fbf7f1, #f3ebe0);
}

body.page-index .brand-text {
display: flex;
      flex-direction: column;
      line-height: 1.05;
}

body.page-index .brand-text strong {
font-size: 2.2rem;
      letter-spacing: 0.04em;
      font-weight: 500;
      font-family: Georgia, "Times New Roman", serif;
}

body.page-index .brand-text span {
margin-top: 6px;
      font-size: 0.85rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 700;
}

body.page-index .nav-links {
display: flex;
      align-items: center;
      gap: 22px;
      flex-wrap: wrap;
      justify-content: flex-end;
}

body.page-index .nav-links a {
font-size: 1rem;
      color: #5d5148;
}

body.page-index .nav-links a.nav-ratgeber {
color:#203c5c;font-weight:700;
}

body.page-index .nav-links a.nav-ratgeber:hover {
color:#305d8f;
}

body.page-index .nav-links a.nav-immobilien {
color:#c39a5b;font-weight:700;
}

body.page-index .nav-links a.nav-immobilien:hover {
color:#ab8245;
}

body.page-index .hero-buttons {
display:flex;gap:16px;flex-wrap:wrap;
}

body.page-index .btn-outline-gold {
background:rgba(74,64,55,0.88);
  color:#f7f0e8;
  border:none;
  box-shadow:0 4px 12px rgba(0,0,0,0.18);
}

body.page-index .btn-outline-gold:hover {
background:#c39a5b;
  color:#ffffff;
  transform:translateY(-1px);
}

@media (max-width:700px) {
  body.page-index .hero-buttons {
flex-direction:column;align-items:flex-start;
  }
}

body.page-index .btn {
display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      cursor: pointer;
      border-radius: 6px;
      padding: 16px 28px;
      font-size: 1rem;
      font-weight: 700;
      transition: 0.2s ease;
      box-shadow: 0 4px 12px rgba(133, 94, 36, 0.12);
}

body.page-index .btn-primary {
background: linear-gradient(180deg, #c8a363, #b88d4b);
      color: #fffaf2;
}

body.page-index .btn-primary:hover {
background: linear-gradient(180deg, #bd9858, #a97d3e);
      transform: translateY(-1px);
}

body.page-index .btn-download {
background: #203c5c;
      color: #ffffff;
      margin-top: 12px;
      width: 100%;
      box-shadow: 0 4px 12px rgba(32,60,92,0.18);
}

body.page-index .btn-download:hover {
background: #162d45;
      transform: translateY(-1px);
}

body.page-index .hero {
padding: 0;
      position: relative;
      border-bottom: 1px solid var(--line);
      overflow: hidden;
}

body.page-index .hero-banner {
width: 100%;
      height: 380px;
      object-fit: cover;
      display: block;
}

body.page-index .hero-content {
position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 8%;
      max-width: 900px;
      color: #f7f0e8;
}

body.page-index .hero-content h1 {
font-size: clamp(2.2rem, 4.8vw, 4rem);
      line-height: 1.05;
      margin: 0 0 20px;
      font-weight: 500;
      text-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

body.page-index .hero-content p {
margin: 0 0 34px;
      font-size: 1.45rem;
      font-weight: 500;
      color: #f3ebe3;
      text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

body.page-index .trust-bar {
background: #fcf9f5;
      border-bottom: 1px solid var(--line);
      box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

body.page-index .trust-grid {
display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
}

body.page-index .trust-item {
min-height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      font-size: 1.05rem;
      font-weight: 600;
      color: #5a4d42;
      padding: 8px 16px;
      text-align: center;
}

body.page-index .trust-item + .trust-item {
border-left: 1px solid var(--line);
}

body.page-index .trust-icon {
width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 2px solid rgba(195, 154, 91, 0.65);
      display: grid;
      place-items: center;
      color: var(--gold);
      font-size: 0.95rem;
      flex: 0 0 auto;
}

body.page-index section {
padding: 28px 0;
}

/* Anker-Abstand für Sticky-Header */
body.page-index #ueber-uns,
body.page-index #leistungen,
body.page-index #arbeitsweise,
body.page-index #kontaktformular{
  scroll-margin-top:90px;
}


body.page-index .section-head {
display: flex;
      align-items: center;
      gap: 24px;
      justify-content: center;
      margin-bottom: 36px;
      position: relative;
      max-width: calc(100% - 358px);
      margin-left: 0;
      margin-right: auto;
}

/* Über uns: Linien nicht verkürzen */

body.page-index #ueber-uns .section-head {
max-width: calc(100% - 358px);
      margin-left: 0;
      margin-right: auto;
}

body.page-index .section-head::before,
body.page-index .section-head::after {
content: "";
      height: 1px;
      background: var(--line);
      flex: 1;
}

body.page-index .section-head h2 {
margin: 0;
      font-size: clamp(1.8rem, 2.6vw, 2.4rem);
      font-weight: 500;
      color: #57473c;
}

body.page-index #ueber-uns .content-layout,
body.page-index #arbeitsweise .content-layout {
margin-top: -20px;
}

body.page-index .content-layout {
margin-top: -36px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 28px;
      align-items: stretch;
}

body.page-index .content-image {
width: 330px;
      height: calc(100% + 36px);
      margin-top: -36px;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      background: #eee;
      background-size: cover;
      background-position: center;
}

body.page-index .services-layout {
margin-top: 8px;
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) 330px;
      gap: 28px;
      align-items: start;
}

body.page-index .services-grid {
display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
}

body.page-index .service-card h3 {
margin: 0 0 16px;
      text-align: center;
      font-size: 1.1rem;
      font-weight: 500;
      color: #59483d;
      font-family: Georgia, "Times New Roman", serif;
}

body.page-index .service-image {
aspect-ratio: 1.28 / 1;
      border: 1px solid var(--line);
      overflow: hidden;
      background:
        linear-gradient(rgba(255,255,255,0.10), rgba(255,255,255,0.10)),
        linear-gradient(135deg, #ddd1c4, #f2eae1 50%, #cab8a5);
      box-shadow: var(--shadow);
      position: relative;
}

body.page-index .service-card p {
text-align: center;
      margin: 14px 8px 0;
      color: #5e5248;
      font-size: 1rem;
}

body.page-index .contact-card {
margin-top: -70px;
      background: #f9f5ef;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      overflow: hidden;
}

body.page-index .contact-image {
height: 194px;
      background:
        linear-gradient(rgba(255,255,255,0.10), rgba(255,255,255,0.10)),
        linear-gradient(135deg, #d8c8b3, #efdfce 50%, #c5ae87);
      position: relative;
}

body.page-index .contact-body {
padding: 22px 26px 24px;
}

body.page-index .contact-item {
display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 0;
      font-size: 1rem;
      color: #574a40;
      border-bottom: 1px solid #e5d7c7;
}

body.page-index .contact-item:last-of-type {
margin-bottom: 16px;
}

body.page-index .contact-icon {
width: 34px;
      height: 34px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: var(--gold);
      font-size: 1.1rem;
      flex: 0 0 auto;
}

body.page-index .form-intro {
max-width: 760px;
      margin: 0 auto 26px;
      text-align: center;
      color: var(--muted);
      font-size: 1.02rem;
}

/* Liste im Arbeitsweise-Abschnitt linksbündig */

body.page-index #arbeitsweise ul {
padding-left: 0;
      margin-left: 0;
      list-style-position: inside;
}

body.page-index .contact-form-layout {
display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 28px;
      align-items: start;
}

body.page-index .contact-form-wrap {
width: 100%;
}

body.page-index .contact-form {
width: 100%;
      max-width: none;
      margin: 0;
      background: #fcf9f5;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      padding: 28px;
}

body.page-index .form-grid {
display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
}

body.page-index .field-full {
grid-column: 1 / -1;
}

body.page-index input,
body.page-index textarea {
width: 100%;
      border: 1px solid #dacdbd;
      border-radius: 8px;
      padding: 15px 16px;
      background: #fff;
      font: inherit;
      color: var(--text);
}

body.page-index textarea {
min-height: 150px;
      resize: vertical;
}

body.page-index .form-note {
margin: 14px 0 0;
      color: var(--muted);
      font-size: 0.92rem;
}

body.page-index footer {
border-top: 1px solid var(--line);
      margin-top: 54px;
      background: #fbf7f1;
}

body.page-index .footer-inner {
min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      color: #6c6158;
      font-size: 0.96rem;
}

@media (max-width: 1120px) {
  body.page-index .services-layout {
grid-template-columns: 1fr;
        gap: 36px;
  }

  body.page-index .services-grid {
grid-template-columns: repeat(3, 1fr);
  }

  body.page-index .contact-card {
margin-top: 0;
        width: 330px;
        max-width: 100%;
  }
}

@media (max-width: 900px) {
  body.page-index .nav {
padding: 16px 0;
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
  }

  body.page-index .nav-links {
width: 100%;
        justify-content: flex-start;
        gap: 14px 18px;
  }

  body.page-index .hero-banner {
height: 320px;
  }

  body.page-index .hero-content {
left: 24px;
        right: 24px;
        max-width: none;
  }

  body.page-index .hero-content h1 {
font-size: clamp(2rem, 6vw, 3rem);
  }

  body.page-index .hero-content p {
font-size: 1.15rem;
        margin-bottom: 22px;
  }

  body.page-index .trust-grid {
grid-template-columns: 1fr;
  }

  body.page-index .trust-item + .trust-item {
border-left: none;
        border-top: 1px solid var(--line);
  }

  body.page-index .section-head {
max-width: 100%;
        margin-bottom: 24px;
  }

  body.page-index #ueber-uns .section-head {
max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  }

  body.page-index .section-head::before,
  body.page-index .section-head::after {
max-width: none;
  }

  body.page-index .services-grid,
  body.page-index .content-layout,
  body.page-index .contact-form-layout,
  body.page-index .form-grid {
grid-template-columns: 1fr;
  }

  body.page-index .content-layout {
margin-top: 0;
        gap: 18px;
  }

  body.page-index #ueber-uns .content-layout,
  body.page-index #arbeitsweise .content-layout {
margin-top: 0;
  }

  body.page-index .content-image {
width: 100%;
        height: 260px;
        margin-top: 0;
  }

  body.page-index .contact-card {
width: 100%;
  }

  body.page-index .contact-form {
padding: 22px;
  }
}

@media (max-width: 560px) {
  body.page-index .container {
width: min(var(--max), calc(100% - 24px));
  }

  body.page-index .brand-text strong {
font-size: 1.7rem;
  }

  body.page-index .brand-text span {
letter-spacing: 0.12em;
        font-size: 0.74rem;
  }

  body.page-index .nav-links a {
font-size: 0.95rem;
  }

  body.page-index .nav-links .btn {
width: 100%;
  }

  body.page-index .hero-banner {
height: 280px;
  }

  body.page-index .hero-content {
left: 16px;
        right: 16px;
  }

  body.page-index .hero-content h1 {
font-size: 1.8rem;
        margin-bottom: 12px;
  }

  body.page-index .hero-content p {
font-size: 1rem;
        margin-bottom: 16px;
  }

  body.page-index .trust-item {
min-height: 62px;
        font-size: 0.98rem;
        gap: 10px;
        padding: 8px 12px;
  }

  body.page-index .trust-icon {
width: 32px;
        height: 32px;
  }

  body.page-index section {
padding: 22px 0;
  }

  body.page-index .section-head {
gap: 10px;
  }

  body.page-index .section-head h2 {
font-size: 1.6rem;
  }

  body.page-index .service-card h3 {
margin-bottom: 10px;
  }

  body.page-index .service-card p,
  body.page-index .form-intro,
  body.page-index .contact-item,
  body.page-index .form-note {
font-size: 0.95rem;
  }

  body.page-index .contact-body,
  body.page-index .contact-form {
padding: 18px;
  }

  body.page-index .footer-inner {
min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
  }
}

/* ==========================================================
   RATGEBER
   ========================================================== */
body.page-ratgeber {
--bg: #f5f1ea;
  --surface: #fbf8f3;
  --white: #ffffff;
  --text: #4a4037;
  --muted: #7e7268;
  --line: #d0c3b3;
  --gold: #c39a5b;
  --gold-dark: #ab8245;
  --blue: #203c5c;
  --shadow: 0 10px 30px rgba(79, 58, 36, 0.08);
  --radius: 18px;
  --max: 1280px;
}

body.page-ratgeber, body.page-ratgeber * {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body.page-ratgeber {
margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.page-ratgeber a {
color: inherit; text-decoration: none;
}

body.page-ratgeber .container {
width: min(var(--max), calc(100% - 40px)); margin: 0 auto;
}

body.page-ratgeber .serif {
font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.02em;
}

body.page-ratgeber header {
position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(199, 188, 175, 0.5);
}

body.page-ratgeber .nav {
min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.page-ratgeber .brand {
display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

body.page-ratgeber .brand-text {
display: flex;
  flex-direction: column;
  line-height: 1.05;
}

body.page-ratgeber .brand-text strong {
font-size: 2.2rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  font-family: Georgia, "Times New Roman", serif;
}

body.page-ratgeber .brand-text span {
margin-top: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

body.page-ratgeber .nav-links {
display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.page-ratgeber .nav-links a {
font-size: 1rem;
  color: #5d5148;
}

body.page-ratgeber .nav-links a.nav-ratgeber {
color:#203c5c;font-weight:700;
}

body.page-ratgeber .nav-links a.nav-ratgeber:hover {
color:#305d8f;
}

body.page-ratgeber .nav-links a.nav-immobilien {
color:#c39a5b;font-weight:700;
}

body.page-ratgeber .nav-links a.nav-immobilien:hover {
color:#ab8245;
}

body.page-ratgeber .btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  transition: 0.2s ease;
  box-shadow: 0 4px 12px rgba(133, 94, 36, 0.12);
}

body.page-ratgeber .btn-primary {
background: linear-gradient(180deg, #c8a363, #b88d4b);
  color: #fffaf2;
}

body.page-ratgeber .ratgeber-hero {
padding: 46px 0 34px;
  background:
    radial-gradient(circle at top left, rgba(195,154,91,.18), transparent 34%),
    linear-gradient(180deg, #fbf8f3 0%, #f1e9df 100%);
  border-bottom: 1px solid var(--line);
}

body.page-ratgeber .eyebrow {
color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

body.page-ratgeber .ratgeber-hero h1 {
margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  font-weight: 500;
  max-width: 760px;
}

body.page-ratgeber .ratgeber-hero p {
margin: 0;
  max-width: 760px;
  color: #6d6359;
  font-size: 1.05rem;
  line-height: 1.6;
}

body.page-ratgeber .blog-wrap {
padding: 42px 0 20px;
}

body.page-ratgeber .blog-layout {
display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

body.page-ratgeber .article-section-title {
scroll-margin-top: 120px;
  margin: 0 0 22px;
  color: #57473c;
  font-size: 1.85rem;
  font-weight: 500;
}

body.page-ratgeber .article-grid {
display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.page-ratgeber .article-card {
background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.page-ratgeber .article-date {
color: #8a7d70; font-size: .70rem; margin-bottom: 6px;
}

body.page-ratgeber .article-meta {
color: var(--gold-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

body.page-ratgeber .article-card h2 {
margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.22;
  font-weight: 500;
  color: #57473c;
}

body.page-ratgeber .article-card p {
margin: 0 0 20px; color: var(--muted);
}

body.page-ratgeber .read-link {
color: var(--blue); font-weight: 700; font-size: .95rem;
}

body.page-ratgeber .sidebar {
display: grid; gap: 22px; margin-top: 58px;
}

body.page-ratgeber .sidebar-box {
background: #fcf9f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

body.page-ratgeber .sidebar-box h3 {
margin: 0 0 16px;
  color: #57473c;
  font-size: 1.3rem;
  font-weight: 500;
}

body.page-ratgeber .filter-list {
display: grid; gap: 0;
}

body.page-ratgeber .filter-link {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #e5d7c7;
  color: #5d5148;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

body.page-ratgeber .filter-link:last-child {
border-bottom: none;
}

body.page-ratgeber .filter-link:hover,
body.page-ratgeber .filter-link.active {
color: var(--gold-dark);
  font-weight: 700;
}

body.page-ratgeber .filter-link span:last-child {
color: inherit; opacity: .75; font-size: .9rem;
}

body.page-ratgeber .popular-list {
display: grid; gap: 14px;
}

body.page-ratgeber .popular-list a {
display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5d7c7;
  color: #5d5148;
}

body.page-ratgeber .popular-list a:last-child {
border-bottom: none; padding-bottom: 0;
}

body.page-ratgeber .popular-list strong {
display: block;
  color: var(--blue);
  font-size: .95rem;
  line-height: 1.35;
}

body.page-ratgeber .popular-list span {
display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-top: 3px;
}

body.page-ratgeber .article-page {
padding: 42px 0 20px;
}

body.page-ratgeber .article-box {
max-width: 880px;
  background: #fcf9f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

body.page-ratgeber .breadcrumb {
color: var(--muted);
  font-size: .92rem;
  margin-bottom: 28px;
}

body.page-ratgeber .breadcrumb a {
color: var(--blue);
  font-weight: 700;
}

body.page-ratgeber .article-box h1 {
color: var(--blue);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 500;
}

body.page-ratgeber .article-box h2 {
color: #57473c;
  font-size: 1.45rem;
  margin-top: 32px;
  margin-bottom: 10px;
  font-weight: 500;
}

body.page-ratgeber .article-box p {
color: #5f544b;
  font-size: 1.05rem;
}

body.page-ratgeber .back-link {
display: inline-block;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 700;
}

body.page-ratgeber footer {
border-top: 1px solid var(--line);
  margin-top: 54px;
  background: #fbf7f1;
}

body.page-ratgeber .footer-inner {
min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #6c6158;
  font-size: 0.96rem;
}

@media (max-width: 900px) {
  body.page-ratgeber .nav {
padding: 16px 0; min-height: auto; align-items: flex-start; flex-direction: column;
  }

  body.page-ratgeber .nav-links {
width: 100%; justify-content: flex-start; gap: 14px 18px;
  }

  body.page-ratgeber .blog-layout {
grid-template-columns: 1fr;
  }

  body.page-ratgeber .article-grid {
grid-template-columns: 1fr;
  }

  body.page-ratgeber .sidebar {
margin-top: 0;
  }
}

@media (max-width: 560px) {
  body.page-ratgeber .container {
width: min(var(--max), calc(100% - 24px));
  }

  body.page-ratgeber .brand-text strong {
font-size: 1.7rem;
  }

  body.page-ratgeber .brand-text span {
letter-spacing: 0.12em; font-size: 0.74rem;
  }

  body.page-ratgeber .nav-links .btn {
width: 100%;
  }

  body.page-ratgeber .ratgeber-hero {
padding: 34px 0 28px;
  }

  body.page-ratgeber .article-card,
  body.page-ratgeber .sidebar-box,
  body.page-ratgeber .article-box {
padding: 20px;
  }
}

/* ==========================================================
   IMMOBILIEN
   ========================================================== */
body.page-immobilien {
--bg: #f5f1ea;
      --surface: #fbf8f3;
      --white: #ffffff;
      --text: #4a4037;
      --muted: #7e7268;
      --line: #d0c3b3;
      --gold: #c39a5b;
      --gold-dark: #ab8245;
      --blue: #203c5c;
      --shadow: 0 10px 30px rgba(79, 58, 36, 0.08);
      --radius: 18px;
      --max: 1280px;
}

body.page-immobilien, body.page-immobilien * {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body.page-immobilien {
margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.5;
}

body.page-immobilien img {
max-width: 100%; display: block;
}

body.page-immobilien a {
color: inherit; text-decoration: none;
}

body.page-immobilien .container {
width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
}

body.page-immobilien .serif {
font-family: Georgia, "Times New Roman", serif;
      letter-spacing: -0.02em;
}

body.page-immobilien header {
position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(251, 248, 243, 0.96);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(199, 188, 175, 0.5);
}

body.page-immobilien .nav {
min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
}

body.page-immobilien .brand-text {
display: flex;
      flex-direction: column;
      line-height: 1.05;
}

body.page-immobilien .brand-text strong {
font-size: 2.2rem;
      letter-spacing: 0.04em;
      font-weight: 500;
      font-family: Georgia, "Times New Roman", serif;
}

body.page-immobilien .brand-text span {
margin-top: 6px;
      font-size: 0.85rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 700;
}

body.page-immobilien .nav-links {
display: flex;
      align-items: center;
      gap: 22px;
      flex-wrap: wrap;
      justify-content: flex-end;
}

body.page-immobilien .nav-links a {
font-size: 1rem;
      color: #5d5148;
}

body.page-immobilien .nav-links a.nav-ratgeber {
color: var(--blue);
      font-weight: 700;
}

body.page-immobilien .nav-links a.nav-immobilien {
color: var(--gold);
      font-weight: 700;
}

body.page-immobilien .btn {
display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      cursor: pointer;
      border-radius: 6px;
      padding: 15px 26px;
      font-size: 1rem;
      font-weight: 700;
      transition: 0.2s ease;
      box-shadow: 0 4px 12px rgba(133, 94, 36, 0.12);
}

body.page-immobilien .btn-primary {
background: linear-gradient(180deg, #c8a363, #b88d4b);
      color: #fffaf2;
}

body.page-immobilien .btn-primary:hover {
background: linear-gradient(180deg, #bd9858, #a97d3e);
      transform: translateY(-1px);
}

body.page-immobilien .page-hero {
padding: 78px 0 66px;
      background:
        linear-gradient(rgba(48, 41, 35, 0.58), rgba(48, 41, 35, 0.58)),
        url("images/header.png") center / cover no-repeat;
      color: #f7f0e8;
      border-bottom: 1px solid var(--line);
}

body.page-immobilien .page-hero h1 {
margin: 0 0 14px;
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 500;
      text-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

body.page-immobilien .page-hero p {
max-width: 760px;
      margin: 0;
      font-size: 1.18rem;
      color: #f2e8dc;
      text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

body.page-immobilien main {
padding: 48px 0 70px;
}

body.page-immobilien .intro {
max-width: 820px;
      margin: 0 auto 38px;
      text-align: center;
      color: var(--muted);
      font-size: 1.04rem;
}

body.page-immobilien .property-list {
display: grid;
      gap: 34px;
}

body.page-immobilien .property-card {
background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      overflow: hidden;
}

body.page-immobilien .property-top {
display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
      min-height: 360px;
}

body.page-immobilien .property-image {
position: relative;
      min-height: 360px;
      background:
        linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0.04)),
        linear-gradient(135deg, #ddd1c4, #f2eae1 50%, #cab8a5);
      background-size: cover;
      background-position: center;
}

body.page-immobilien .property-badge {
position: absolute;
      top: 20px;
      left: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 118px;
      padding: 9px 16px;
      border-radius: 999px;
      font-weight: 700;
      color: #fff;
      letter-spacing: 0.02em;
      box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

body.page-immobilien .badge-rent {
background: var(--blue);
}

body.page-immobilien .badge-sale {
background: var(--gold-dark);
}

body.page-immobilien .property-summary {
padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: #fbf8f3;
}

body.page-immobilien .property-summary h2 {
margin: 0 0 8px;
      font-size: 1.85rem;
      font-weight: 500;
      color: #57473c;
}

body.page-immobilien .property-location {
color: var(--muted);
      margin-bottom: 24px;
}

body.page-immobilien .facts-grid {
display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px 18px;
}

body.page-immobilien .fact {
padding-bottom: 10px;
      border-bottom: 1px solid #e3d8cb;
}

body.page-immobilien .fact span {
display: block;
      color: var(--muted);
      font-size: 0.83rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 3px;
}

body.page-immobilien .fact strong {
font-size: 1.04rem;
      color: #51463e;
}

body.page-immobilien .property-body {
	display:block;
	width:100%;
	padding:30px;
	border-top:1px solid var(--line);
}

body.page-immobilien .property-text h3,
body.page-immobilien .property-details h3 {
	margin: 0 0 14px;
	font-size: 1.25rem;
	font-weight: 500;
	color: #57473c;
	font-family: Georgia, "Times New Roman", serif;
}

body.page-immobilien .property-text p {
	margin:0 0 14px;
	color:#5d5148;
	font-size:0.92rem;
	line-height:1.65;
}

body.page-immobilien .property-text h3{
	font-size:1.15rem;
	margin-bottom:1rem;
}

body.page-immobilien .property-details ul {
	margin: 0;
	padding-left: 18px;
	color: #5d5148;
	font-size: 0.9rem;
	line-height: 1.2;
}

body.page-immobilien .property-details li + li {
	margin-top: 8px;
}

body.page-immobilien .property-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 22px;
}

body.page-immobilien .btn-secondary {
	background: #4a4037;
	color: #fff;
}

body.page-immobilien .btn-secondary:hover {
	background: #342d27;
	transform: translateY(-1px);
}

body.page-immobilien .empty-note {
	padding: 28px;
	text-align: center;
	border: 1px dashed var(--line);
	background: rgba(255,255,255,0.35);
	color: var(--muted);
}

body.page-immobilien .property-gallery {
position: relative;
      min-height: 360px;
      background: #e7ded3;
      overflow: hidden;
}

body.page-immobilien .gallery-main {
      height: 100%;
      object-fit: contain;
      cursor: zoom-in;
      transition: opacity 0.2s ease;
}

body.page-immobilien .gallery-arrow {
position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border: none;
      border-radius: 50%;
      background: rgba(74, 64, 55, 0.78);
      color: #fff;
      font-size: 1.6rem;
      cursor: pointer;
      z-index: 3;
      display: grid;
      place-items: center;
      transition: 0.2s ease;
}

body.page-immobilien .gallery-arrow:hover {
background: var(--gold);
}

body.page-immobilien .gallery-arrow.prev {
left: 16px;
}

body.page-immobilien .gallery-arrow.next {
right: 16px;
}

body.page-immobilien .gallery-thumbs {
display: grid;
      grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
      gap: 8px;
      padding: 10px;
      background: #f7f1e9;
      border-top: 1px solid var(--line);
}

body.page-immobilien .gallery-thumb {
border: 2px solid transparent;
      padding: 0;
      background: none;
      cursor: pointer;
      border-radius: 4px;
      overflow: hidden;
      opacity: 0.72;
      transition: 0.2s ease;
}

body.page-immobilien .gallery-thumb img {
width: 100%;
      height: 74px;
      object-fit: cover;
}

body.page-immobilien .gallery-thumb:hover,
body.page-immobilien .gallery-thumb.active {
opacity: 1;
      border-color: var(--gold);
}

body.page-immobilien .lightbox {
position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(25, 22, 19, 0.94);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 30px;
}

body.page-immobilien .lightbox.open {
display: flex;
}

body.page-immobilien .lightbox img {
max-width: min(1100px, 92vw);
      max-height: 86vh;
      object-fit: contain;
      box-shadow: 0 14px 50px rgba(0,0,0,0.35);
}

body.page-immobilien .lightbox-close {
position: absolute;
      top: 20px;
      right: 26px;
      border: none;
      background: transparent;
      color: #fff;
      font-size: 2.4rem;
      cursor: pointer;
}

@media (max-width: 560px) {
  body.page-immobilien .gallery-main {
height: 270px;
  }

  body.page-immobilien .property-gallery {
min-height: auto;
  }

  body.page-immobilien .gallery-thumbs {
grid-template-columns: repeat(2, 1fr);
  }

  body.page-immobilien .gallery-thumb img {
height: 62px;
  }
}

body.page-immobilien footer {
border-top: 1px solid var(--line);
      background: #fbf7f1;
}

body.page-immobilien .footer-inner {
min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      color: #6c6158;
      font-size: 0.96rem;
}

@media (max-width: 900px) {
  body.page-immobilien .nav {
padding: 16px 0;
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
  }

  body.page-immobilien .nav-links {
width: 100%;
        justify-content: flex-start;
        gap: 14px 18px;
  }

  body.page-immobilien .property-top {
grid-template-columns: 1fr;
  }

  body.page-immobilien .property-image {
min-height: 290px;
  }
}

@media (max-width: 560px) {
  body.page-immobilien .container {
width: min(var(--max), calc(100% - 24px));
  }

  body.page-immobilien .brand-text strong {
font-size: 1.7rem;
  }

  body.page-immobilien .brand-text span {
letter-spacing: 0.12em;
        font-size: 0.74rem;
  }

  body.page-immobilien .page-hero {
padding: 56px 0 48px;
  }

  body.page-immobilien .facts-grid {
grid-template-columns: 1fr;
  }

  body.page-immobilien .property-summary,
  body.page-immobilien .property-body {
padding: 22px;
  }

  body.page-immobilien .property-summary h2 {
font-size: 1.55rem;
  }

  body.page-immobilien .property-actions .btn {
width: 100%;
  }

  body.page-immobilien .footer-inner {
min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
  }
}



/* ==========================================================
   IMMOBILIEN – kompaktes Anzeigenlayout ohne Vorschaubilder
   Hauptbild 4:3 mit vollständiger Darstellung (contain)
   ========================================================== */

/* Karte als zweispaltiges Raster: Galerie + Beschreibung links,
   Objektinformationen rechts */
body.page-immobilien .property-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  grid-template-rows: auto auto;
  align-items: start;
  background: var(--surface);
}

/* Die bisherige Hülle beeinflusst das Raster nicht mehr. Dadurch können
   Galerie, Infobereich und Beschreibung direkt positioniert werden. */
body.page-immobilien .property-top {
  display: contents;
}

body.page-immobilien .property-gallery {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #eee8df;
  border-right: 1px solid var(--line);
}

body.page-immobilien .gallery-main {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: #eee8df;
  cursor: zoom-in;
}

/* Kleine Vorschaubilder vollständig ausblenden */
body.page-immobilien .gallery-thumbs {
  display: none !important;
}

body.page-immobilien .property-summary {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  height: 100%;
  padding: 28px 28px 30px;
  border-left: 0;
  background: #fbf8f3;
}

body.page-immobilien .property-summary h2 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.18;
}

/* Beschreibung bleibt genau unter dem Hauptbild und damit nur in der
   linken Spalte – nicht über die gesamte Kartenbreite. */
body.page-immobilien .property-body {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  padding: 22px 26px 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fbf8f3;
}

body.page-immobilien .property-text p {
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Aufklappbare Beschreibung mit <details class="property-description"> */
body.page-immobilien .property-description {
  margin: 0;
}

body.page-immobilien .property-description > summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

body.page-immobilien .property-description > summary::-webkit-details-marker {
  display: none;
}

body.page-immobilien .property-description > summary h3 {
  margin: 0 0 10px;
}

body.page-immobilien .description-preview {
  margin: 0 0 10px;
  color: #5d5148;
  font-size: 0.9rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body.page-immobilien .description-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

body.page-immobilien .description-toggle::after {
  content: "⌄";
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

body.page-immobilien .property-description[open] .description-toggle::after {
  transform: rotate(180deg);
}

body.page-immobilien .property-description[open] .description-toggle .more-label {
  display: none;
}

body.page-immobilien .property-description:not([open]) .description-toggle .less-label {
  display: none;
}

body.page-immobilien .description-full {
  padding-top: 10px;
}

body.page-immobilien .description-full p:last-child {
  margin-bottom: 0;
}

/* Pfeile etwas kleiner, damit das Hauptbild ruhig und kompakt bleibt */
body.page-immobilien .gallery-arrow {
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
}

body.page-immobilien .gallery-arrow.prev {
  left: 14px;
}

body.page-immobilien .gallery-arrow.next {
  right: 14px;
}

@media (max-width: 900px) {
  body.page-immobilien .property-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  body.page-immobilien .property-gallery {
    grid-column: 1;
    grid-row: 1;
    border-right: 0;
  }

  body.page-immobilien .property-summary {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    border-top: 1px solid var(--line);
  }

  body.page-immobilien .property-body {
    grid-column: 1;
    grid-row: 3;
    border-right: 0;
  }
}

@media (max-width: 560px) {
  body.page-immobilien .property-gallery {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  body.page-immobilien .gallery-main {
    height: 100%;
  }

  body.page-immobilien .property-summary,
  body.page-immobilien .property-body {
    padding: 20px;
  }

  body.page-immobilien .description-preview {
    -webkit-line-clamp: 4;
  }
}

/* ==========================================================
   IMPRESSUM
   ========================================================== */
body.page-impressum {
--bg: #f5f1ea;
  --surface: #fbf8f3;
  --text: #4a4037;
  --muted: #7e7268;
  --line: #d0c3b3;
  --gold: #c39a5b;
  --max: 900px;
}

body.page-impressum {
margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height:1.6;
}

body.page-impressum .container {
width: min(var(--max), calc(100% - 40px));
  margin: 60px auto;
}

body.page-impressum h1 {
font-family: Georgia, "Times New Roman", serif;
  font-weight:500;
  margin-bottom:30px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
}

body.page-impressum p {
margin:10px 0;
}

body.page-impressum .section {
margin-top:32px;
}

body.page-impressum .footer {
margin-top:60px;
  padding-top:20px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:0.9rem;
}

/* ==========================================================
   DATENSCHUTZ
   ========================================================== */
body.page-datenschutz {
--bg: #f5f1ea;
  --surface: #fbf8f3;
  --text: #4a4037;
  --muted: #7e7268;
  --line: #d0c3b3;
  --gold: #c39a5b;
  --max: 900px;
}

body.page-datenschutz {
margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height:1.6;
}

body.page-datenschutz .container {
width: min(var(--max), calc(100% - 40px));
  margin: 60px auto;
}

body.page-datenschutz h1 {
font-family: Georgia, "Times New Roman", serif;
  font-weight:500;
  margin-bottom:30px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
}

body.page-datenschutz h2 {
font-family: Georgia, "Times New Roman", serif;
  font-weight:500;
  margin-top:34px;
  margin-bottom:10px;
}

body.page-datenschutz p {
margin:10px 0;
}

body.page-datenschutz ul {
margin:10px 0 10px 18px;
}

body.page-datenschutz .footer {
margin-top:60px;
  padding-top:20px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:0.9rem;
}


/* ==========================================================
   IMMOBILIEN – Ausstattung unter dem vollständigen Faktenraster
   ========================================================== */
body.page-immobilien .property-summary {
  display: block;
  padding: 28px 28px 30px;
}

body.page-immobilien .property-summary-main {
  width: 100%;
}

body.page-immobilien .facts-grid {
  width: 100%;
}

/* Beide Felder der letzten Faktenzeile behalten ihre untere Linie. */
body.page-immobilien .facts-grid .fact {
  border-bottom: 1px solid #e3d8cb;
}

/* Ausstattung liegt als eigener Block unter beiden Faktenspalten. */
body.page-immobilien .property-summary .property-details {
  width: 100%;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

body.page-immobilien .property-summary .property-details h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

@media (max-width: 560px) {
  body.page-immobilien .property-summary {
    padding: 20px;
  }
}


/* Ausstattung als echter Vollbreitenblock unterhalb des Faktenrasters */
body.page-immobilien .property-summary .facts-grid + .property-details {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}
