/* PSVB – statische Version (ersetzt WordPress/Elementor) */
:root {
  --green: #228B0E;
  --green-dark: #1b700b;
  --lime: #BAD946;
  --black: #000;
  --white: #fff;
  --grey-bg: #f3f4f6;
  --card-bg: #e7e8e1;
  --border: #d9d9d9;
  --text: #000;
  --container: 1210px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container-wide { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.center { text-align: center; }
.green { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-lg { font-size: 20px; font-weight: 700; line-height: 28px; padding: 14px 24px; }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 32px 0;
}
.header-bar {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 24px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
.logo img { height: 28px; width: auto; }
.logo .logo-light { display: none; }
.main-nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  padding: 13px 18px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--green); }
.header-cta { display: flex; gap: 20px; }
.header-cta .btn { width: 150px; text-align: center; padding: 12px 16px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: inherit;
}
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* Startseite: transparenter Header über dem Bild, beim Scrollen schwarz */
.home .site-header { position: fixed; left: 0; right: 0; }
.home .header-bar { background: transparent; border-color: transparent; }
.home .main-nav a { color: var(--white); }
.home .main-nav a:hover { color: var(--lime); }
.home .logo .logo-dark { display: none; }
.home .logo .logo-light { display: block; }
.home .nav-toggle { color: var(--white); }
.home .site-header.scrolled .header-bar { background: var(--black); border-color: var(--black); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  text-align: center;
  padding: 140px 16px 80px;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1);
}
.hero-slide.active { opacity: 1; animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { font-size: 56px; line-height: 68px; margin-bottom: 36px; }
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .hl svg {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
}
.hero h1 .hl path {
  fill: none;
  stroke: var(--white);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: draw 1.4s .4s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero p { font-size: 20px; line-height: 28px; max-width: 760px; margin: 0 auto 36px; }

/* ---------- Two-column rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.row.top { align-items: start; }
.row img.rounded, .rounded { border-radius: 4px; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.h-xl { font-size: 48px; line-height: 56px; }
.h-l { font-size: 40px; line-height: 48px; }
.h-xxl { font-size: 96px; line-height: 1.05; }
.lead { font-size: 18px; line-height: 26px; }
.text-sm { font-size: 14px; line-height: 20px; }
.stack > * + * { margin-top: 24px; }

/* Werte (Startseite) */
.values img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 4px; }
.values .copy { text-align: left; }
.values .copy h2 { text-align: center; margin-bottom: 24px; }
.values .copy .btn-wrap { text-align: center; margin-top: 28px; }

/* Dienstleistungen */
.services { background: var(--grey-bg); }
.services h2 { margin-bottom: 40px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { text-decoration: none; color: inherit; text-align: center; display: flex; flex-direction: column; align-items: center; }
.service-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
.service-card h3 { font-size: 32px; line-height: 40px; margin-bottom: 14px; }
.service-card p { font-size: 16px; line-height: 24px; flex: 1; }
.service-card .btn { margin-top: 20px; }
.services .more { margin-top: 60px; }

/* Vorteile */
.benefits { background: var(--black); color: var(--white); }
.benefits h2 { margin-bottom: 48px; }
.benefit { text-align: center; }
.benefit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.benefit h3 { font-size: 24px; line-height: 32px; margin-bottom: 14px; }
.benefit p { font-size: 13px; line-height: 20px; }
.benefits .more { margin-top: 60px; }

/* News */
.news-head { margin-bottom: 40px; }
.news-head h2 { margin-bottom: 14px; }
.news-head p { color: #444; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.news-card {
  display: grid;
  grid-template-columns: 45% 1fr;
  background: var(--card-bg);
  border: 1px solid #333;
  border-radius: 2px;
  overflow: hidden;
  min-height: 270px;
}
.news-card .thumb { display: block; background: var(--card-bg); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.news-card .body { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; }
.news-card .cat { color: var(--lime); font-size: 12px; text-decoration: none; margin-bottom: 8px; }
.news-card h3 { font-size: 24px; line-height: 32px; margin-bottom: 18px; }
.news-card h3 a { text-decoration: none; }
.news-card .excerpt { font-size: 14px; line-height: 20px; margin-bottom: 18px; }
.news-card .read { font-size: 14px; text-decoration: none; }
.news-card .read::after { content: " ›"; }

/* Kontaktformular */
.contact-section h2 { margin-bottom: 18px; }
.contact-section .intro { margin-bottom: 60px; }
.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form label { display: block; font-size: 14px; margin-bottom: 8px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 10px 16px;
  border: 1px solid #333;
  border-radius: 4px;
  background: var(--white);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form .check { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.contact-form .check a { color: inherit; }
.contact-form .submit { text-align: center; margin-top: 16px; }
.form-status { margin-top: 16px; text-align: center; font-size: 15px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b00020; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 0 120px 30px; }
.site-footer h5 { font-size: 24px; line-height: 32px; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; max-width: 620px; }
.footer-links a { display: block; padding: 10px 18px; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.footer-logo img { width: 170px; height: auto; }
.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: start;
  font-size: 12px;
  line-height: 18px;
}
.footer-bottom .legal { display: flex; gap: 32px; }
.footer-bottom .legal a { text-decoration: none; }
.footer-bottom .legal a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; }
.social a, .social span { display: inline-flex; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Unterseiten ---------- */
.page-intro { padding: 80px 0 100px; }
.page-intro h2 { margin-bottom: 30px; }
.wide-img { width: 100%; border-radius: 4px; object-fit: cover; }

/* Rechtsschutz */
.tipp .row { align-items: center; }

/* Zuschusskasse */
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; margin-top: 50px; max-width: 520px; }
.counter .num { font-size: 32px; line-height: 40px; font-weight: 700; }
.counter .label { font-size: 12px; line-height: 18px; margin-top: 10px; }
.cta { padding: 100px 0; }
.cta h2 { margin-bottom: 20px; }
.cta p { max-width: 640px; margin: 0 auto 30px; }

/* Wohnungen */
.no-flat { background: var(--black); padding: 80px 0; }
.no-flat .card { background: var(--white); display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.no-flat .card .txt { display: flex; align-items: center; padding: 48px; }
.no-flat .card img { width: 100%; height: 100%; object-fit: cover; }

/* Über uns */
.about-hero h2 em { font-style: italic; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 38px; margin-top: 40px; }
.team-member img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }
.team-member h3 { font-size: 24px; line-height: 32px; margin-bottom: 18px; }
.team-member .role { font-size: 13px; line-height: 19px; margin-bottom: 18px; }
.team-member .mail { font-size: 13px; text-decoration: none; }
.team-member .mail:hover { color: var(--green); }
.retired { padding-top: 100px; }
.retired .person { max-width: 340px; margin: 30px 0; }
.retired .person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.retired .text { max-width: 860px; font-size: 16px; line-height: 24px; }
.docs .row { align-items: start; }
.accordion { border: 1px solid var(--border); margin-bottom: -1px; }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: "+"; font-weight: 700; width: 10px; }
.accordion[open] summary::before { content: "–"; }
.accordion ul { margin: 0; padding: 4px 16px 14px 26px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { margin: 8px 0; }
.doc-list a { display: inline-flex; gap: 14px; align-items: center; font-size: 14px; text-decoration: none; }
.doc-list a:hover { color: var(--green); }
.doc-list svg { width: 12px; height: 14px; fill: none; stroke: var(--green); stroke-width: 1.6; flex: none; }
.docs .doc-list.loose { margin-top: 26px; padding-left: 0; }
.faq-cta img { max-width: 600px; margin: 40px auto 0; border-radius: 4px; }

/* Kontakt */
.icon-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding-bottom: 60px; }
.icon-box svg { width: 22px; height: 22px; fill: var(--black); margin-bottom: 18px; }
.icon-box h3 { font-size: 24px; line-height: 32px; margin-bottom: 14px; }
.icon-box p { font-size: 14px; line-height: 20px; }
.icon-box a { color: var(--green); text-decoration: none; }
.map iframe { display: block; width: 100%; height: 450px; border: 0; }

/* Legal-Seiten */
.legal-page { padding: 120px 0; }
.legal-page .inner { max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-size: 48px; line-height: 56px; margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; line-height: 28px; margin: 28px 0 10px; }
.legal-page ul { margin: 0 0 14px; padding-left: 22px; }

/* Beiträge */
.post { padding: 80px 0 60px; }
.breadcrumb { font-size: 12px; margin-bottom: 30px; display: flex; gap: 8px; }
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb span.sep::before { content: "›"; }
.post h1 { text-align: center; font-size: 48px; line-height: 56px; margin-bottom: 30px; }
.post-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 70px; }
.post-meta .share { display: flex; gap: 10px; }
.post-meta svg { width: 14px; height: 14px; fill: currentColor; }
.post-content img { max-width: 680px; width: 100%; margin-bottom: 30px; border-radius: 4px; }
.post-content .linkedin { display: inline-block; margin: 10px 0 30px; color: var(--green); }
.related { padding: 40px 0 100px; }
.related h2 { margin-bottom: 30px; }

/* ---------- Scroll-Animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.active { animation: none; }
  .hero h1 .hl path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .main-nav a { padding: 13px 10px; font-size: 15px; }
  .header-cta .btn { width: auto; }
  .footer-top { padding: 0 0 30px; }
}
@media (max-width: 1024px) {
  .site-header { padding: 12px 16px 0; }
  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 100%;
    margin-top: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: none;
    padding: 8px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .home .main-nav { background: var(--black); border-color: var(--black); }
  .cards-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .h-xxl { font-size: 72px; }
}
@media (max-width: 767px) {
  .section, .cta { padding: 64px 0; }
  .page-intro { padding: 40px 0 64px; }
  .row, .no-flat .card, .icon-boxes { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; line-height: 44px; }
  .hero p { font-size: 17px; line-height: 25px; }
  .h-xl, .legal-page h1, .post h1 { font-size: 32px; line-height: 40px; }
  .h-l { font-size: 30px; line-height: 38px; }
  .h-xxl { font-size: 56px; }
  .service-card h3 { font-size: 26px; line-height: 34px; }
  .cards-4, .team-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card .thumb img { max-height: 320px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom .legal { flex-direction: column; gap: 8px; }
  .no-flat .card { min-height: 0; }
  .map iframe { height: 320px; }
  .post-content img { max-width: 100%; }
}
