/* Blog-Style für bayer-bayer-immo.de */

:root {
  --green: #003E2C;
  --green-light: #0a5a3f;
  --gold: #C9A961;
  --gold-light: #dfc07a;
  --beige: #FBF7EC;
  --beige-dark: #f0e9d4;
  --white: #ffffff;
  --text-dark: #1a1a1a;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--beige);
  color: var(--text-dark);
  line-height: 1.75;
}

/* NAV (nur die Top-Nav-Bar, nicht die Post-Navigation) */
body > nav:not(.post-nav) {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(0, 62, 44, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,169,97,0.25);
}
.nav-logo img { height: 54px; width: auto; transition: height 0.3s; }
.nav-back {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251,247,236,0.82); text-decoration: none;
  transition: color 0.25s;
}
.nav-back:hover { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251,247,236,0.82); text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); background: var(--gold);
  padding: 0.65rem 1.6rem; border: none; cursor: pointer;
  text-decoration: none; transition: background 0.25s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #FBF7EC; }
@media (max-width: 768px) {
  body > nav:not(.post-nav) { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* HERO */
.blog-hero {
  background: var(--green); color: var(--white);
  padding: 9rem 4rem 5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(201,169,97,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(201,169,97,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.blog-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.blog-eyebrow {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.blog-eyebrow::before { content: '·'; padding-right: 0.55em; }
    .blog-eyebrow::after  { content: '·'; padding-left: 0.55em; }
.blog-hero h1 {
  font-family: 'Didot', serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 1.2rem;
}
.blog-hero h1 em { font-style: italic; color: var(--gold); }
.blog-hero-sub {
  font-size: 0.95rem; line-height: 1.85; font-weight: 300;
  color: rgba(251,247,236,0.72);
  max-width: 580px; margin: 0 auto;
}

/* LIST */
.blog-main { max-width: 920px; margin: 0 auto; padding: 5rem 2rem; }
.blog-empty { text-align: center; color: #888; font-style: italic; padding: 3rem 0; }
.blog-list { list-style: none; display: grid; gap: 2rem; }
.blog-item {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,62,44,0.1);
  border-color: var(--gold);
}
.blog-item-link {
  display: block; text-decoration: none; color: inherit;
}
.blog-item-img {
  width: 100%; height: 280px; overflow: hidden;
}
.blog-item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.blog-item:hover .blog-item-img img { transform: scale(1.04); }
.blog-item-body { padding: 1.8rem 2.2rem 2rem; }
.blog-item-meta {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.blog-item-title {
  font-family: 'Didot', serif;
  font-size: 1.7rem; font-weight: 400; color: var(--green);
  line-height: 1.2; margin-bottom: 0.7rem;
}
.blog-item-desc {
  font-size: 0.92rem; line-height: 1.75; font-weight: 300;
  color: #444; margin-bottom: 1.1rem;
}
.blog-item-cta {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.blog-item:hover .blog-item-cta { color: var(--gold); }

/* POST */
.post-article { max-width: 720px; margin: 0 auto; padding: 10rem 2rem 4rem; }
.post-header { margin-bottom: 2.5rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--beige-dark); }
.post-meta {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.post-title {
  font-family: 'Didot', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300; color: var(--green);
  line-height: 1.15; margin-bottom: 1rem;
}
.post-lead {
  font-family: 'Didot', serif; font-style: italic;
  font-size: 1.15rem; font-weight: 400;
  color: #555; line-height: 1.6; margin-bottom: 1.2rem;
}
.post-author { font-size: 0.82rem; color: #888; font-weight: 400; }

.post-hero-img { margin: 0 -2rem 2.5rem; }
.post-hero-img img { width: 100%; height: auto; display: block; }

.post-body { font-size: 1rem; line-height: 1.85; color: #2a2a2a; }
.post-body h2 {
  font-family: 'Didot', serif;
  font-size: 1.8rem; font-weight: 400; color: var(--green);
  line-height: 1.25;
  margin: 2.6rem 0 1rem;
}
.post-body h3 {
  font-family: 'Didot', serif;
  font-size: 1.35rem; font-weight: 400; color: var(--green);
  margin: 2rem 0 0.7rem;
}
.post-body p { margin-bottom: 1.2rem; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem 1.4rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body a {
  color: var(--green);
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.post-body a:hover { color: var(--gold); }
.post-body strong { font-weight: 600; color: var(--green); }
.post-body em { font-style: italic; }
.post-body blockquote {
  margin: 1.6rem 0; padding: 1rem 1.6rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  font-family: 'Didot', serif; font-style: italic;
  font-size: 1.1rem; color: #444;
}
.post-body code {
  background: var(--beige-dark); padding: 0.1em 0.4em;
  border-radius: 2px; font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.post-body pre {
  background: var(--green); color: var(--gold);
  padding: 1.2rem 1.4rem; overflow-x: auto;
  margin: 1.6rem 0; font-size: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.post-body pre code { background: transparent; color: inherit; padding: 0; }
.post-body img { max-width: 100%; height: auto; margin: 1.5rem 0; }
.post-body hr { border: none; height: 1px; background: var(--beige-dark); margin: 2.5rem 0; }

/* CTA innerhalb des Posts */
.post-cta {
  margin: 4rem 0 0;
  padding: 2.5rem 2.4rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.post-cta-eyebrow {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.post-cta h3 {
  font-family: 'Didot', serif;
  font-size: 1.8rem; font-weight: 300; color: var(--green);
  line-height: 1.2; margin-bottom: 0.8rem;
}
.post-cta h3 em { font-style: italic; color: var(--gold); }
.post-cta p {
  font-size: 0.92rem; line-height: 1.7; font-weight: 300;
  color: #555; margin-bottom: 1.4rem;
}
.post-cta-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); background: var(--gold);
  padding: 1rem 2rem; text-decoration: none;
  display: inline-block; border: none;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--gold); }

/* POST-NAV */
.post-nav {
  max-width: 720px; margin: 0 auto; padding: 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  border-top: 1px solid var(--beige-dark);
}
.post-nav a {
  display: block; padding: 1.2rem 1.4rem;
  background: var(--white); border: 1px solid var(--beige-dark);
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.post-nav a:hover { border-color: var(--gold); transform: translateY(-2px); }
.post-nav-next { text-align: right; }
.post-nav-dir {
  display: block; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
.post-nav-title {
  font-family: 'Didot', serif;
  font-size: 1.05rem; font-weight: 400; color: var(--green);
  line-height: 1.3;
}

/* FOOTER */
footer {
  background: #00231a; color: rgba(251,247,236,0.55);
  padding: 3rem 4rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.footer-inner p { font-size: 0.72rem; }
.footer-legal { display: flex; gap: 1.6rem; }
.footer-legal a {
  font-size: 0.72rem; color: rgba(251,247,236,0.55);
  text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-logo img { height: 48px; }
  .blog-hero { padding: 7rem 1.5rem 3.5rem; }
  .blog-main { padding: 3rem 1.2rem; }
  .blog-item-img { height: 200px; }
  .blog-item-body { padding: 1.4rem 1.4rem 1.6rem; }
  .blog-item-title { font-size: 1.4rem; }
  .post-article { padding: 8rem 1.2rem 3rem; }
  .post-hero-img { margin-left: -1.2rem; margin-right: -1.2rem; }
  .post-cta { padding: 1.8rem 1.4rem; }
  .post-nav { grid-template-columns: 1fr; padding: 1.5rem 1.2rem; }
  .post-nav-next { text-align: left; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
