/* ==========================================================================
   NPA Immobilien — "Der neue Standard": die elf Punkte
   Eigenes Stylesheet, damit der Abschnitt auf mehreren Seiten laufen kann.
   ========================================================================== */

/* ---------- Der neue Standard: sechs Disziplinen ---------- */
.standard-section {
  background: linear-gradient(180deg, var(--cream-3) 0%, var(--cream-2) 30%, var(--cream) 100%);
  border-top: 1px solid var(--border);
}
.disziplin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .disziplin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .disziplin-grid { grid-template-columns: 1fr; } }

.disziplin {
  position: relative;
  background: var(--white);
  padding: 26px 24px 24px;
  transition: background 0.25s;
}
.disziplin:hover { background: var(--cream); }
.disziplin-nr {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
}
.disziplin-label {
  display: block;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}
.disziplin h3 { margin-top: 5px; font-size: 1.05rem; }
.disziplin p { margin-top: 8px; font-size: 0.86rem; line-height: 1.6; }

/* ---------- Eigene Objektseite ---------- */
.objektseite-section { background: var(--cream-2); }
.objektseite-duo {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 900px) { .objektseite-duo { grid-template-columns: 1fr; gap: 28px; } }
.objektseite-duo p { font-size: 0.9rem; }
.objektseite-duo .check-list li { font-size: 0.87rem; padding: 4px 0; }
.objektseite-bild {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 60px -24px rgba(26, 24, 21, 0.45);
  border: 1px solid var(--border);
  background: var(--white);
}
.objektseite-bild img { display: block; width: 100%; height: auto; }

/* ---------- Punkt 01 als grosses Feld mit Regler ---------- */
.disziplin-gross {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 46px;
  align-items: center;
  padding: 40px 44px;
  margin-bottom: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
@media (max-width: 900px) {
  .disziplin-gross { grid-template-columns: 1fr; gap: 26px; padding: 28px 24px; }
}
.dg-text { position: relative; z-index: 1; }
.dg-visual { position: relative; z-index: 1; }
.disziplin-gross h3 { margin-top: 5px; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.25; }
.dg-claim {
  margin-top: 12px !important;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem) !important;
  color: var(--gold-dark) !important;
  line-height: 1.25;
}
.disziplin-gross > .dg-text > p:not(.dg-claim) { margin-top: 12px; font-size: 0.9rem; line-height: 1.65; }
.disziplin-gross .ba-slider { box-shadow: 0 18px 50px -20px rgba(26,24,21,0.5); }

/* ---------- Grosse Ziffern im Hintergrund ---------- */
.disziplin-ghost {
  position: absolute;
  right: 14px;
  bottom: 4px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--charcoal);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.disziplin-ghost-gross {
  right: auto;
  left: 18px;
  top: -30px;
  bottom: auto;
  font-size: clamp(9rem, 16vw, 15rem);
  opacity: 0.05;
}
@media (max-width: 900px) { .disziplin-ghost-gross { font-size: 9rem; left: 6px; top: -22px; } }

.disziplin { position: relative; overflow: hidden; }
.disziplin > *:not(.disziplin-ghost) { position: relative; z-index: 1; }
.disziplin:hover .disziplin-ghost { opacity: 0.1; transition: opacity 0.3s; }

/* Abschlusskachel im Disziplinen-Raster */
.disziplin-cta {
  display: block;
  background: var(--charcoal);
  text-decoration: none;
}
.disziplin-cta:hover { background: var(--charcoal-2); }
.disziplin-cta .disziplin-label { color: var(--gold-light); }
.disziplin-cta h3 { color: var(--white); margin-top: 5px; font-size: 1.05rem; }
.disziplin-cta p { color: #b9b2a3; }
.disziplin-cta .more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--gold-light); font-size: 0.82rem; }

/* ---------- Raster auf vier Spalten, zweiter grosser Block ---------- */
.disziplin-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .disziplin-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .disziplin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .disziplin-grid { grid-template-columns: 1fr; } }
.disziplin p { font-size: 0.82rem; }

.disziplin-gross-kehr {
  grid-template-columns: 1.15fr 1fr;
  margin-top: 0;
  margin-bottom: 0;
  background: linear-gradient(120deg, var(--cream-2) 0%, var(--cream) 100%);
}
@media (max-width: 900px) {
  .disziplin-gross-kehr { grid-template-columns: 1fr; }
  .disziplin-gross-kehr .dg-visual { order: 2; }
  .disziplin-gross-kehr .dg-text { order: 1; }
  /* Die drei Unterpunkte gehoeren ans Ende, sonst stehen sie auf dem
     Handy ueber der Ueberschrift. */
  .disziplin-gross-kehr .lp-spalten { order: 3; }
}
.disziplin-gross-kehr .disziplin-ghost-gross { left: auto; right: 18px; }
.disziplin-gross.dg-voll .disziplin-ghost-gross {
  top: -30px;
  bottom: auto;
  left: 18px;
  right: auto;
  opacity: 0.045;
}
@media (max-width: 980px) { .disziplin-gross.dg-voll .disziplin-ghost-gross { top: -22px; left: 6px; } }
.dg-bild {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px -26px rgba(26, 24, 21, 0.5);
}
.disziplin-gross-kehr .check-list li { font-size: 0.85rem; padding: 4px 0; }

/* ---------- Gemischtes Raster ---------- */
.disziplin-grid { margin-top: 0; }
.disziplin-grid.reihe-3 { grid-template-columns: repeat(3, 1fr); }
.disziplin-grid.reihe-2 { grid-template-columns: repeat(2, 1fr); }
.disziplin-grid.reihe-1 { grid-template-columns: 1fr; margin-top: 0; }
@media (max-width: 900px) {
  .disziplin-grid.reihe-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .disziplin-grid.reihe-3,
  .disziplin-grid.reihe-2 { grid-template-columns: 1fr; }
}

.disziplin-mix {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1px;
  align-items: stretch;
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 1000px) { .disziplin-mix { grid-template-columns: 1fr; } }
.disziplin-mix .disziplin-halb { margin: 0; grid-template-columns: 1fr; gap: 24px; padding: 30px 30px 32px; }
.disziplin-mix .disziplin-halb .dg-visual { order: 1; }
.disziplin-mix .disziplin-halb .dg-text { order: 2; }
.disziplin-mix .disziplin-grid { height: 100%; }
.disziplin-mix .disziplin-grid .disziplin { display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; }
.disziplin-mix .disziplin-grid.reihe-1 { grid-template-rows: repeat(4, 1fr); }

/* ---------- Kennzahlen in den grossen Bloecken ---------- */
.dg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dg-stats.dg-stats-zwei { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 520px) { .dg-stats, .dg-stats.dg-stats-zwei { grid-template-columns: 1fr; } }
.dg-stat { background: var(--white); padding: 13px 14px; }
.dg-stat-wert {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--gold-dark);
}
.dg-stat-text {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--text-light);
}

/* ---------- Ueberschrift von Punkt 10 groesser ---------- */
.dg-titel-gross {
  font-family: 'Playfair Display', serif !important;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem) !important;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---------- Hervorgehobene Abschnittsueberschrift ---------- */
.standard-titel {
  font-family: 'Playfair Display', serif !important;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 3rem) !important;
  line-height: 1.14;
  letter-spacing: 0;
  margin-top: 4px;
}
.standard-titel span { color: var(--gold-dark); }
.standard-titel::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--gold);
  border-radius: 2px;
}
.dg-unterzeile {
  margin-top: 6px !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-light) !important;
}

/* ---------- Partnerlogos im Netzwerk-Block ---------- */
.dg-partner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.dg-partner-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}
.dg-partner img { display: block; height: 62px; width: auto; }
@media (max-width: 520px) { .dg-partner img { height: 48px; } }


/* ---------- Netzwerk: Portalkarten und Kommunen-Kachel ---------- */
/* Block 11 ohne Bild: eine Spalte ueber die volle Breite */
.disziplin-gross.dg-voll { grid-template-columns: 1.25fr 1fr; column-gap: 40px; row-gap: 14px; align-items: center; }
.dg-voll .dg-text { max-width: none; }
.dg-oneoffice { position: relative; z-index: 1; }
@media (max-width: 980px) {
  .disziplin-gross.dg-voll { grid-template-columns: 1fr; gap: 26px; }
}
.portal-grid-zwei { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .portal-grid-zwei { grid-template-columns: 1fr; } }

.dg-portale {
  grid-column: 1 / -1;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  position: relative;
  z-index: 2;
}
.dg-portale .dg-partner-label {
  align-self: flex-start;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.portal-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .portal-grid { grid-template-columns: 1fr; gap: 16px; } }

.portal-karte {
  position: relative;
  overflow: hidden;
  background: #fcfbf7;
  border: 1px solid rgba(26, 24, 21, 0.08);
  border-radius: 20px;
  border-top: 5px solid var(--pk-ton);
  padding: 26px 26px 30px;
  box-shadow: 0 8px 26px -18px rgba(26, 24, 21, 0.35);
}
.pk-braun { --pk-ton: #c38348; --pk-zahl: #a96a3b; --pk-geist: #f6ece1; }
.pk-gruen { --pk-ton: #03b85b; --pk-zahl: #01a456; --pk-geist: #e3f5e9; }
.pk-blau  { --pk-ton: #445c6d; --pk-zahl: #243949; --pk-geist: #e7ebef; }

.pk-kopf {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 78px; margin-bottom: 20px;
}
.pk-premium {
  display: inline-flex; align-items: center; gap: 7px;
  background: #16130f; color: #fff;
  border-radius: 999px; padding: 7px 15px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
}
.pk-krone { width: 13px; height: 13px; fill: #fff; }
.pk-logo { height: auto; max-width: 70%; object-fit: contain; object-position: right center; }
.pk-logo-is { width: 140px; }
.pk-logo-ka { width: 232px; }
/* alte Klassennamen, falls irgendwo noch im Einsatz */
.pk-logo-badge { width: 178px; }
.pk-logo-klein { width: 228px; }
@media (max-width: 420px) {
  .pk-logo-is { width: 104px; }
  .pk-logo-ka { width: 168px; }
  .pk-logo-badge { width: 128px; }
  .pk-logo-klein { width: 160px; }
  .pk-premium { padding: 6px 12px; font-size: 0.64rem; }
}

.pk-marke {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #16130f;
  margin: 0 0 12px;
  line-height: 1.1;
}
.pk-wert {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px;
  margin: 0;
}
.pk-wert strong {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.75rem, 2.7vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--pk-zahl);
}
.pk-wert span {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.35;
}
.pk-trenn {
  height: 1px; background: rgba(26, 24, 21, 0.1);
  margin: 22px 0 18px;
}
.pk-label {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #16130f;
  margin: 0 0 10px;
}
.pk-ic {
  width: 17px; height: 17px; flex-shrink: 0;
  fill: none; stroke: var(--pk-ton); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.pk-text {
  font-size: 0.94rem; line-height: 1.6;
  color: var(--text-light);
  margin: 0; max-width: 34ch;
  position: relative; z-index: 1;
}
.pk-geist {
  position: absolute; right: 12px; bottom: -22px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 6.2rem; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--pk-geist);
  pointer-events: none;
}

.dg-kommune-huelle { position: relative; margin: 10px 0 4px; }
.dg-kommune-huelle::before {
  content: "";
  position: absolute;
  top: -20px; right: -24px;
  width: 62%; height: 74%;
  background: var(--frame-corners-kraeftig);
  z-index: 0;
}
.dg-kommune {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 20px 46px;
  border-radius: var(--radius-lg);
  background: #000;
  color: #fff;
}
.dg-kommune strong {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: var(--gold-light);
}
.dg-kommune span {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.dg-kommune em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

/* Kennzahlen unter Punkt 11 */
.netz-zahlen {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 6px;
}
.netz-zahlen > div {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 24px;
  border-radius: 20px;
  background: linear-gradient(150deg, #1c1917 0%, #100e0c 100%);
  display: flex; flex-direction: column; gap: 5px;
}
.netz-zahlen > div::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold-kraeftig), rgba(198, 138, 59, 0));
}
.netz-zahlen strong {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--gold-kraeftig);
  line-height: 1.05;
}
.netz-zahlen span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}
@media (max-width: 620px) { .netz-zahlen { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 560px) {
  .dg-portale { margin-top: 14px; gap: 20px; }
  .portal-karte { padding: 22px 22px 26px; }
  .pk-geist { font-size: 5rem; bottom: -16px; }
  .dg-kommune { padding: 17px 34px; }
  .dg-kommune strong { font-size: 2rem; }
  .dg-kommune span { font-size: 0.78rem; }
}

/* ---------- Punkt 10: eigene Landingpage, dunkel und gross ---------- */
.disziplin-gross.dg-dunkel {
  background: #100e0c;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  padding: 48px 46px 42px;
}
.dg-dunkel .disziplin-ghost-gross {
  color: #fff;
  opacity: 0.13;
  left: auto;
  right: 28px;
  top: -18px;
}
@media (max-width: 900px) { .dg-dunkel .disziplin-ghost-gross { right: 10px; top: -14px; } }
.dg-dunkel .disziplin-nr { color: var(--gold-light); }
.dg-dunkel .disziplin-label { color: rgba(255, 255, 255, 0.5); }
.dg-dunkel p { color: rgba(255, 255, 255, 0.68); }

.lp-claim {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem) !important;
  line-height: 1.25;
  color: var(--gold-light) !important;
  margin-top: 14px !important;
}
.disziplin-gross .lp-titel {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-top: 8px;
}
.lp-titel em {
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.42);
}
.lp-spalten {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}
.lp-spalten h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 7px;
}
.lp-spalten p {
  font-size: 0.86rem !important;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58) !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  .disziplin-gross.dg-dunkel { grid-template-columns: 1fr; padding: 30px 24px; }
  .lp-spalten { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
}

/* Geisterziffer im halbbreiten Feld vollstaendig sichtbar */
.disziplin-halb .disziplin-ghost-gross {
  font-size: clamp(6.5rem, 9vw, 9.5rem);
  top: 10px;
  left: 14px;
  opacity: 0.07;
}

/* Plattform-Symbole im Social-Media-Punkt */
.sm-plattformen { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.sm-plattformen span {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--gold-dark);
}
.sm-plattformen img { width: 22px; height: 22px; object-fit: contain; }
.sm-plattformen svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.sm-plattformen svg.sm-farbig { stroke: none; }
.sm-plattformen span[title="Facebook"] svg { fill: currentColor; stroke: none; }

/* Auf dem Handy passen Premium-Plakette und Logo nicht nebeneinander.
   Das Logo rutscht dann in die zweite Zeile und bleibt dadurch gross. */
@media (max-width: 620px) {
  .pk-kopf { flex-wrap: wrap; row-gap: 14px; min-height: 0; }
  .pk-logo { max-width: 100%; }
  .pk-logo-is { width: 124px; }
  .pk-logo-ka { width: 205px; }
}
@media (max-width: 420px) {
  .pk-logo-is { width: 112px; }
  .pk-logo-ka { width: 185px; }
}
