/* ─────────────────────────────────────────────────────────────
   PLUS IMMOBILIEN — Global Stylesheet
   ───────────────────────────────────────────────────────────── */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #404040;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --blue:      #617B91;
  --blue-dark: #4d6175;
  --beige:     #D3CBBD;
  --dark:      #2d2d2d;
  --ink:       #404040;
  --mid:       #676767;
  --muted:     #8D8D8D;
  --light:     #f5f5f5;
  --white:     #ffffff;

  /* teaser accent colours */
  --creme: #DBD1C1;
  --mint:  #9AC1C4;
  --warm:  #B0A898;

  --container: 1200px;
  --nav-h: 80px;
  --border-w: 6px;
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
}

/* ─────────────────────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────────────────────── */
/* Durchgehend halbtransparenter Glaseffekt (Grauton an den Footer
   angelehnt) statt vorher transparent → erst nach 60px Scroll dunkel — so
   bleibt die Nav auch über hellem/weißem Seiteninhalt (z. B. Custom Pages
   ohne farbigen Hero) lesbar, unabhängig davon, was darunterliegt. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(70, 70, 70, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 62px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

/* Dropdown items (pages with sub-pages) */
.nav-item { position: relative; display: flex; align-items: center; padding-bottom: 18px; margin-bottom: -18px; }
.nav-item-trigger {
  display: flex; align-items: center; gap: 5px;
  position: relative;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-item-trigger:hover,
.nav-item-trigger.active { opacity: 1; }
.nav-item-caret {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.nav-submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, -6px);
  min-width: 190px;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-submenu a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
  white-space: nowrap;
  transition: opacity 0.15s, background 0.15s;
}
.nav-submenu a:hover,
.nav-submenu a.active { opacity: 1; background: rgba(255, 255, 255, 0.08); }

/* Burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--dark);
  display: none;
  flex-direction: column;
  padding: 24px 40px;
  gap: 20px;
  z-index: 99;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.nav-mobile.open {
  display: flex;
  transform: translateY(0);
}
.nav-mobile a {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.nav-mobile-group { display: flex; flex-direction: column; gap: 20px; }
.nav-mobile-children {
  display: flex; flex-direction: column; gap: 16px;
  padding-left: 18px; margin-top: -6px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.nav-mobile-children a {
  font-size: 0.7rem;
  opacity: 0.75;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img,
.hero-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,40,50,0.35) 0%, rgba(97,123,145,0.92) 100%);
}
.hero-overlay--dark {
  background: linear-gradient(180deg, rgba(20,30,40,0.5) 0%, rgba(30,40,50,0.85) 100%);
}

/* Vertical pagination dots (left side) */
.hero-pagination {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dot {
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.45);
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.dot:hover { background: rgba(255,255,255,0.7); }
.dot.active { background: var(--white); border-color: var(--white); transform: scale(1.3); }

/* Progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  z-index: 3;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.75);
  transition: width linear;
}

/* Hero text */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 100px;
}

/* Text animation */
.hero-content .hero-heading,
.hero-content .hero-line,
.hero-content .hero-sub,
.hero-content .btn-hero {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-content.is-visible .hero-heading { opacity: 1; transform: none; transition-delay: 0s; }
.hero-content.is-visible .hero-line    { opacity: 1; transform: none; transition-delay: 0.15s; }
.hero-content.is-visible .hero-sub     { opacity: 1; transform: none; transition-delay: 0.28s; }
.hero-content.is-visible .btn-hero     { opacity: 1; transform: none; transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  .hero-content .hero-heading,
  .hero-content .hero-line,
  .hero-content .hero-sub,
  .hero-content .btn-hero { opacity: 1; transform: none; transition: none; }
}

.hero-heading {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 20px;
}

.hero-line {
  width: 60px;
  height: 3px;
  background: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 60ch;
  margin-bottom: 36px;
  line-height: 1.55;
}

.btn-hero {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s;
}
.btn-hero:hover {
  background: var(--white);
  color: var(--blue);
}

/* ─────────────────────────────────────────────────────────────
   TEASER BOXES  (overlap hero bottom by ~80px)
   ───────────────────────────────────────────────────────────── */
.teasers {
  position: relative;
  z-index: 4;
  margin-top: -80px;
  pointer-events: none;
}

.teasers-inner {
  /* Flexbox statt Grid: bleibt eine Kachel per "Ausblenden" im Page Builder
     versteckt (display:none), zentriert sich die verbleibende Gruppe bei
     unveränderter Kachelgröße, statt links ausgerichtet eine Lücke zu lassen. */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
}

.teaser {
  pointer-events: all;
  display: flex;
  align-items: flex-end;
  padding: 30px 28px;
  /* Quadratisch statt fester Höhe — die Höhe folgt automatisch der (responsiven)
     Breite, statt pro Breakpoint einzeln gepflegt zu werden. */
  aspect-ratio: 1 / 1;
  /* 4 Kacheln, 3 Lücken à 28px — feste Breite statt 1fr, damit die Größe
     unabhängig von der Anzahl sichtbarer Kacheln gleich bleibt. */
  flex: 0 0 calc((100% - 84px) / 4);
  background: transparent;
  position: relative;
  transition: transform 0.2s;
}
.teaser:hover { transform: translateY(-4px); }

/* Gray fill + frame live in ONE svg so they scale together (no responsive gap).
   Sized to the box exactly; the non-scaling stroke straddles the edge,
   half overhanging onto the hero (overflow visible). */
.teaser-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

/* Hover: right + bottom edges draw toward the bottom-right corner, closing the frame.
   Invisible at rest (dashoffset hides them) — no extra contour in normal state.
   --len is set by JS to the rendered (screen-px) length, because non-scaling-stroke
   + preserveAspectRatio="none" makes the dash pattern use screen px, not viewBox units. */
.teaser-close-right,
.teaser-close-bottom {
  stroke-dasharray: var(--len, 0);
  stroke-dashoffset: var(--len, 0);
  transition: stroke-dashoffset 0.45s ease-out;
}
.teaser:hover .teaser-close-right,
.teaser:hover .teaser-close-bottom {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .teaser-close-right,
  .teaser-close-bottom { transition: none; }
}

.teaser-label {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.4;
}
.teaser--blue .teaser-label { color: var(--blue); }
.teaser-label--bold { font-weight: 700; }

/* ─────────────────────────────────────────────────────────────
   ABOUT SPLIT
   ───────────────────────────────────────────────────────────── */
.about {
  background: var(--white);
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.about-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.about-heading {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 24px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin-bottom: 28px;
}

.about-body {
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 48ch;
  margin-bottom: 36px;
}

.btn-outline-dark {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}
/* Reset für <button>-Elemente (z. B. "Mehr laden"), die dieselbe Klasse wie
   die <a>-basierten CTA-Buttons nutzen — sonst blitzen UA-Defaults (graue
   Buttonfläche, Systemschrift) im Ruhezustand durch. Das Hover-Verhalten
   kommt weiterhin aus .btn-outline-dark:hover bzw. den Farbvarianten
   (.immo-cta-btn:hover usw.), da diese Selektoren ohnehin unabhängig vom
   Element (a/button) greifen. */
button.btn-outline-dark {
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────
   PROJECTS SECTION
   ───────────────────────────────────────────────────────────── */
.projects {
  background: var(--beige);
  padding: 80px 0 60px;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}

/* SVG bracket heading */
.section-heading-bracket {
  position: relative;
  padding: 20px 20px 20px 24px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.heading-bracket-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.btn-outline-light {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--blue);
}

/* Cards */
.cards-viewport {
  overflow: hidden;
}

.cards-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.cards-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-width: 100%;
}

/* legacy alias kept for any other references */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Pagination squares */
.pagination {
  display: grid;
  grid-template-columns: repeat(2, 24px);
  gap: 6px;
  justify-content: center;
  margin-top: 48px;
}

.pag-dot {
  display: block;
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.pag-dot.active { background: var(--white); }

/* ─────────────────────────────────────────────────────────────
   SERVICES / KONTAKT SECTION
   ───────────────────────────────────────────────────────────── */
.services {
  position: relative;
  background: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

/* Diamond watermark decoration */
.services-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
}
.services-watermark img {
  width: 60%;
  max-width: 800px;
  transform: rotate(45deg) translateX(20%);
  filter: grayscale(1);
}

.services-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.services-sub {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.services-heading {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 28px;
}

.services-body {
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 32px;
}

.services-contact {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-row a {
  font-size: 0.9rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.contact-row a:hover { color: var(--blue); }

/* Services photo — im Backend über den Leistungen-Block frei wählbar.
   Solange kein Bild gesetzt ist (leeres src), zeigt der Grauton den
   bisherigen Platzhalter-Look. */
.services-photo,
.services-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #c8c8c8;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.services-right {
  position: relative;
}

.services-right-deco {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 55%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* Quote inside services block */
.services-quote-wrap {
  text-align: center;
  padding-top: 56px;
  padding-bottom: 72px;
}

.quote-text {
  font-size: clamp(1.2rem, 1.68vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.65;
  max-width: 70ch;
  margin-inline: auto;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(to top, #404040 0%, #676767 100%);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-col strong,
.footer-company strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.footer-company p {
  font-size: 0.82rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact-info span { font-size: 0.82rem; }

.footer-nav ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-legal a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-legal a:hover { color: var(--white); }

.footer-tagline p {
  font-size: 1.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: var(--container);
  margin-inline: auto;
  padding: 20px 40px;
}
.footer-bottom p {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

/* ─────────────────────────────────────────────────────────────
   QUOTE SECTION
   ───────────────────────────────────────────────────────────── */
.quote-section {
  display: none;
}

/* ─────────────────────────────────────────────────────────────
   LAND / GRUNDSTÜCKE HERO
   ───────────────────────────────────────────────────────────── */
.land-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.land-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.land-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.land-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.45);
}

.land-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding-block: 80px;
}

.land-hero-content {
  max-width: 480px;
}

.land-hero-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.land-hero-heading {
  position: relative;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.04em;
  padding: 20px 20px 4px 24px;
  margin-bottom: 28px;
}

.land-hero-bracket {
  position: absolute;
  top: 0; left: 0;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.divider--white {
  background: var(--white);
}

.land-hero-body {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────────────────────
   SUB-PAGE SHARED COMPONENTS
   ───────────────────────────────────────────────────────────── */

/* Old nav class used by sub-pages */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(45,45,45,0.96);
  backdrop-filter: blur(6px);
}
.top-nav .container { height: 100%; }
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.top-nav .nav-logo img { height: 52px; width: auto; }
.top-nav .nav-links { display: flex; gap: 40px; align-items: center; }
.top-nav .nav-links a {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.top-nav .nav-links a:hover { opacity: 1; }

/* Page hero (sub-pages) */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--blue);
  padding: 80px 0;
}
.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 55ch;
}

/* Projekte grid */
.projekte-section { padding: 80px 0; }
.projekte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project .wrap {
  background: #f5f3f0;
  display: flex;
  flex-direction: column;
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.project-status {
  position: absolute;
  top: 0; left: 0;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.status-neu      { background: var(--white); color: var(--blue); }
.status-verkauft { background: var(--blue);  color: var(--white); }

.project-body {
  padding: 20px 24px 28px;
}
.project-body h3 {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.project-body p {
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.7;
}

/* Land / Grundstücke CTA */
.land-section {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.land-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--beige) 50%, var(--dark) 50%);
  z-index: 0;
}
.land-text {
  max-width: 480px;
}
.land-text p {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.btn-outline-kontakt {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-kontakt:hover {
  background: var(--white);
  color: var(--dark);
}

/* Immobilien grid */
.immobilien-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.immo-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
}
.immo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.immo-card-body { padding: 20px; }
.immo-card-body h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.immo-card-location {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.immo-card-stats {
  display: flex;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.stat span { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }

/* icon-box (Immobilien contact) */
.icon-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-box img { width: 36px; height: 36px; object-fit: contain; }

/* Old site-footer (sub-pages) */
.site-footer {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a2530 100%);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
}
.footer-grid {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.5fr;
  gap: 48px;
}
.footer-company strong { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; display: block; }
.footer-company p { font-size: 0.82rem; line-height: 1.75; margin-bottom: 16px; }
.footer-contact div { font-size: 0.82rem; line-height: 1.8; }
.footer-nav ul, .footer-legal ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-legal a {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65); transition: color 0.2s;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--white); }
.footer-tagline {
  font-size: 1.4rem; font-weight: 300; color: var(--white);
  line-height: 1.4; letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .teaser { flex-basis: calc((100% - 28px) / 2); }

  /* About: Bild oben, Text darunter (Grid liegt auf .about-inner) */
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-text { padding: 0; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .projekte-grid { grid-template-columns: repeat(2, 1fr); }

  /* Projekt-Slider: kein horizontales Sliden mehr, alle Karten einspaltig
     untereinander (analog immo-grid auf Mobile) */
  .cards-viewport { overflow: visible; }
  .cards-slider { display: block; transform: none !important; }
  .cards-page { grid-template-columns: 1fr; }
  .cards-page + .cards-page { margin-top: 24px; }
  .pagination { display: none; }

  /* Services: Bild oben, Text darunter — Deko-Grafik ausblenden */
  .services-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-right { display: block; order: -1; }
  .services-right-deco { display: none; }

  /* Hero-Slider-Pagination: unten horizontal statt links vertikal.
     Der Teaser-Block wird per margin-top:-80px in den Hero hochgezogen und
     liegt mit höherem z-index darüber — die Punkte müssen daher oberhalb
     dieser 80px-Überlappung sitzen, sonst werden sie verdeckt. */
  .hero-pagination {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 104px;
    transform: translateX(-50%);
    flex-direction: row;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .nav-inner  { padding-inline: 20px; }

  .hero-content { padding-inline: 20px; }
  .hero-heading { font-size: 2rem; }

  .teasers-inner { padding-inline: 20px; }
  .teaser { padding: 20px 16px; }

  .projects { padding: 60px 0 40px; }
  .cards-grid, .projekte-grid { grid-template-columns: 1fr; }

  .footer-inner, .footer-grid { grid-template-columns: 1fr; }

  .projects-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ─────────────────────────────────────────────────────────────
   MOTION
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ─────────────────────────────────────────────────────────────
   SCROLL REVEAL
   ───────────────────────────────────────────────────────────── */
.sr {
  transition: opacity 0.6s ease, transform 0.6s ease;
}.sr--d1 { transition-delay: 100ms; }
.sr--d2 { transition-delay: 200ms; }
.sr--d3 { transition-delay: 300ms; }

/* ─────────────────────────────────────────────────────────────
   SUBPAGE HERO ENTRANCE
   ───────────────────────────────────────────────────────────── */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@keyframes lineExpand {
  from { width: 0; opacity: 0; }
  to   { width: 48px; opacity: 1; }
}

/* Subpage header headings (Projekte, Immobilien, Über Uns, Neuigkeiten) */
.proj-header-heading,
.immo-header-heading,
.news-header-heading,
.leist-header-heading {
  animation: heroSlideUp 0.65s ease 0.15s both;
}
.proj-header-body,
.immo-header-body,
.news-header-body,
.leist-header-body {
  animation: heroSlideUp 0.65s ease 0.35s both;
}

/* Projekt-Detail & Immobilien-Detail hero */
.detail-hero-title,
.immo-hero-title {
  animation: heroSlideUp 0.7s ease 0.2s both;
}
.detail-hero-sub,
.immo-hero-sub {
  animation: heroSlideUp 0.65s ease 0.4s both;
}
.detail-hero-sub::after,
.immo-hero-sub::after {
  animation: lineExpand 0.5s ease 0.75s both;
}

/* ─── VORTEILE-BOX ──────────────────────────────────────────────── */
.vorteile-box {
  background: var(--light);
  border-left: 4px solid var(--blue);
  padding: 32px 36px;
  max-width: 420px;
}
.vorteile-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.vorteile-list { display: flex; flex-direction: column; gap: 14px; }
.vorteile-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
}
.vorteile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

/* ─── 2 SPALTEN TEXT ───────────────────────────────────────────── */
.two-col-text { padding: 80px 0; }
.two-col-text-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.two-col-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.two-col-heading {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.two-col-text-inner .divider { margin: 16px 0 18px; }
.two-col-body {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.8;
}

/* ─── 3 SPALTEN MIT ZAHL ───────────────────────────────────────── */
.three-col-numbered { padding: 80px 0; }
.three-col-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.three-col-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}
.three-col-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.three-col-body {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .vorteile-box { max-width: none; }
  .two-col-text-inner { grid-template-columns: 1fr; gap: 40px; }
  .three-col-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── TEXT + BILD BLOCK ──────────────────────────────────────────── */
.ti-block { padding: 80px 0; }
.ti-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ti-block--reversed .ti-block-inner { direction: rtl; }
.ti-block--reversed .ti-block-inner > * { direction: ltr; }

.ti-block-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}
.ti-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: #617B91;
  margin: 16px 0 24px;
}
.ti-block-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #617B91;
  margin-bottom: 10px;
}
.ti-block-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.ti-block-body {
  line-height: 1.7;
  color: #555;
  margin-top: 16px;
}
.ti-block-btn { margin-top: 24px; display: inline-block; }
@media (max-width: 768px) {
  .ti-block-inner { grid-template-columns: 1fr; gap: 32px; }
  .ti-block--reversed .ti-block-inner { direction: ltr; }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE-BUILDER BLÖCKE (Frontend-Rendering aus dem CMS)
   ═══════════════════════════════════════════════════════════════ */

/* Responsive: Blöcke pro Gerät aus-/einblenden */
@media (max-width: 767px)                          { .pb-hide-mobile  { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px)  { .pb-hide-tablet  { display: none !important; } }
@media (min-width: 768px)                          { .pb-hide-desktop { display: none !important; } }

/* Gemeinsame Sektions-Überschrift */
.pb-section-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 8px;
}
.pb-hero, .pb-team, .pb-testimonials, .pb-stats, .pb-gallery,
.pb-accordion, .pb-downloads, .pb-contact, .pb-teaser, .pb-grid-wrap {
  padding-block: 64px;
}

/* ── Hero (eigenständig, für Custom-Pages) ─────────────────────── */
.pb-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.pb-hero-bg { position: absolute; inset: 0; z-index: 0; }
.pb-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.pb-hero-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(30, 30, 30, 0.45); }
.pb-hero-inner { position: relative; z-index: 2; }
.pb-hero-sub { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; margin-bottom: 10px; }
.pb-hero-heading { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; margin-bottom: 18px; }
.pb-hero-body { max-width: 560px; font-size: 1.05rem; line-height: 1.6; }
.pb-hero-btn { margin-top: 26px; }

/* ── Subpage Page-Header (dynamischer Hero-Block) ───────────────────
   Gemeinsame Optik der Unterseiten-Kopfbereiche (Klammer-Icon, 3D-Deko,
   weiße Typografie). Ersetzt die früher pro Seite duplizierten
   .x-header-/.x-hero-Sektionen. Die Bereichsfarbe kommt je Seite über
   --subpage-hero-bg (Default: neutrales Grau, s. css/<seite>.css). */

/* Sanftes Erscheinen: Der Seitenkopf (Hero) wird per JS nachträglich oben
   eingefügt. Ohne dies würde der darunterliegende Inhalt kurz aufblitzen und
   erst danach der Hero einfliegen. Deshalb bleibt der Subpage-Inhalt unsichtbar,
   bis js/page-content.js die CMS-Blöcke gerendert und .pb-ready gesetzt hat.
   Sicherheitsnetz: page-content.js setzt .pb-ready auch bei Fehler/Timeout. */
body.subpage main {
  opacity: 0;
  transition: opacity 0.45s ease;
}
body.subpage.pb-ready main {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  body.subpage main { transition: none; }
}

body.subpage .pb-hero {
  --subpage-hero-bg: #676767;
  position: relative;
  min-height: 0;
  display: block;
  color: var(--white);
  background: var(--subpage-hero-bg);
  /* Reicht bis ganz nach oben (kein main-Padding mehr, s. u.) — die fixe Nav
     liegt direkt auf der Bereichsfarbe, statt in einer eigenen Zeile davor. */
  padding: calc(var(--nav-h) + 80px) 0 72px;
  overflow: hidden;
}
body.subpage .pb-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: 70%;
  height: 150%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
  background: url('../assets/Plus Logo 3D Test 2@2x.png') no-repeat right center / contain;
}
body.subpage .pb-hero-inner {
  position: relative;
  z-index: 1;
}
body.subpage .pb-hero-sub,
body.subpage .pb-hero-heading,
body.subpage .pb-hero-body {
  max-width: 520px;
}
body.subpage .pb-hero-sub {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
body.subpage .pb-hero-heading {
  position: relative;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  padding: 20px 20px 4px 28px;
  margin-bottom: 28px;
  animation: heroSlideUp 0.65s ease 0.15s both;
}
body.subpage .pb-hero-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100,20 V0 H0 V100 H18' fill='none' stroke='%23ffffff' stroke-width='8' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat;
}
body.subpage .pb-hero-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  max-width: 56ch;
  animation: heroSlideUp 0.65s ease 0.35s both;
}
@media (max-width: 600px) {
  body.subpage .pb-hero { padding: calc(var(--nav-h) + 24px) 0 40px; }
  body.subpage .pb-hero::before { display: none; }
}

/* ── Grid / Karten ─────────────────────────────────────────────── */
.pb-grid { display: grid; }
.pb-grid-card {
  background: var(--light);
  padding: 28px;
  border-radius: 4px;
}
.pb-grid-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.pb-grid-card-heading { font-size: 1.15rem; color: var(--dark); margin-bottom: 8px; }
.pb-grid-card-body { color: var(--mid); line-height: 1.6; font-size: 0.95rem; }

/* ── Team ──────────────────────────────────────────────────────── */
.pb-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.pb-team-card { text-align: center; }
.pb-team-photo {
  width: 160px; height: 160px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light);
}
.pb-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-team-name { font-size: 1.15rem; color: var(--dark); }
.pb-team-role { color: var(--blue); font-size: 0.92rem; margin-bottom: 8px; }
.pb-team-contact { font-size: 0.9rem; margin: 2px 0; }
.pb-team-contact a { color: var(--mid); text-decoration: none; }
.pb-team-contact a:hover { color: var(--blue); }

/* ── Testimonials / Zitate ─────────────────────────────────────── */
.pb-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.pb-testimonial {
  background: var(--light);
  padding: 32px;
  border-left: var(--border-w) solid var(--blue);
}
.pb-testimonial-quote { font-size: 1.05rem; line-height: 1.6; font-style: italic; color: var(--ink); }
.pb-testimonial-cite { display: block; margin-top: 16px; }
.pb-testimonial-author { display: block; font-weight: 700; color: var(--dark); }
.pb-testimonial-role { display: block; font-size: 0.88rem; color: var(--muted); }

/* ── Kennzahlen / Stats ────────────────────────────────────────── */
.pb-stats { background: var(--dark); color: var(--white); }
.pb-stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  text-align: center;
}
.pb-stat-value { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--beige); }
.pb-stat-label { display: block; margin-top: 6px; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Galerie ───────────────────────────────────────────────────── */
.pb-gallery-grid { display: grid; gap: 12px; margin-top: 28px; }
.pb-gallery-item { position: relative; display: block; overflow: hidden; border-radius: 3px; }
.pb-gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.pb-gallery-item:hover img { transform: scale(1.05); }
.pb-gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: var(--white); font-size: 0.85rem;
}

/* ── Karte ─────────────────────────────────────────────────────── */
.pb-map iframe { display: block; }

/* ── Akkordeon / FAQ ───────────────────────────────────────────── */
.pb-accordion-inner { max-width: 820px; margin-inline: auto; }
.pb-acc-item { border-bottom: 1px solid #e2e2e2; }
.pb-acc-q {
  cursor: pointer;
  padding: 18px 0;
  font-size: 1.05rem;
  color: var(--dark);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.pb-acc-q::after { content: '+'; font-size: 1.4rem; color: var(--blue); }
.pb-acc-item[open] .pb-acc-q::after { content: '–'; }
.pb-acc-q::-webkit-details-marker { display: none; }
.pb-acc-a { padding: 0 0 18px; color: var(--mid); line-height: 1.7; }

/* ── Downloads ─────────────────────────────────────────────────── */
.pb-download-list { list-style: none; margin: 24px 0 0; padding: 0; max-width: 640px; }
.pb-download-item a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  margin-bottom: 8px;
  color: var(--ink); text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pb-download-item a:hover { border-color: var(--blue); background: var(--light); }
.pb-download-icon { color: var(--blue); font-weight: 700; }

/* ── Kontaktformular ───────────────────────────────────────────── */
.pb-contact-inner { max-width: 720px; margin-inline: auto; }
.pb-contact-sub { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--blue); }
.pb-contact-body { color: var(--mid); line-height: 1.7; margin-bottom: 24px; }
.pb-contact-form { display: flex; flex-direction: column; gap: 14px; }
.pb-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pb-contact-form input,
.pb-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  font: inherit;
}
.pb-contact-form input:focus,
.pb-contact-form textarea:focus { outline: none; border-color: var(--blue); }
.pb-contact-form button { align-self: flex-start; }
.pb-contact-form button:disabled { opacity: 0.6; cursor: default; }
.pb-contact-status { font-size: 0.9rem; padding: 10px 14px; border-radius: 4px; }
.pb-contact-status--success { background: #e6f4ea; color: #1e6b3a; }
.pb-contact-status--error   { background: #fdecea; color: #a3231c; }

/* ── Teaser (Immobilien / Projekte) ────────────────────────────── */
.pb-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.pb-teaser-empty { color: var(--muted); }

@media (max-width: 600px) {
  .pb-contact-row { grid-template-columns: 1fr; }
}
