/* ==========================================================
   LIGA AQUILA – Stylesheet
   Schwarz/Weiß, elegant, reduziert
   ========================================================== */

:root {
  --black: #111111;
  --dark: #1a1a1a;
  --grey-dark: #2e2e2e;
  --grey: #6b6f76;
  --grey-light: #f4f5f7;
  --white: #ffffff;
  --accent: #33414e;
  --line: #9fb0bf;
  --font-body: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-quote: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  padding: 28px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo { display: inline-block; }

.logo img {
  width: 200px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 16.5px;
  color: var(--grey-dark);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.main-nav a:hover { color: var(--black); }

.main-nav a.active {
  color: #7d97ad;
  border-bottom-color: #7d97ad;
}

/* Header-Variante auf dunklen Seiten */
.header-dark { background: transparent; position: relative; z-index: 5; }
.header-dark .main-nav a { color: #cfd4da; }
.header-dark .main-nav a:hover { color: var(--white); }
.header-dark .main-nav a.active { color: var(--white); border-bottom-color: var(--white); }

/* ---------- Zitat-Hero (Startseite) ---------- */

.quote-hero {
  padding: 100px 0 110px;
  background: var(--white);
}

.quote-frame {
  max-width: 940px;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: clamp(40px, 7vw, 90px) clamp(24px, 6vw, 80px);
  text-align: center;
}

.quote-frame .frame-text {
  font-family: var(--font-quote);
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.7;
  color: var(--dark);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: .4px;
  padding: 12px 24px;
  border: 1px solid var(--dark);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  font-family: var(--font-body);
}

.btn:hover { background: var(--white); color: var(--dark); }

.btn-dark-context {
  background: #20242b;
  border-color: #4a5058;
}

.btn-dark-context:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

.quote-frame .btn { margin-top: 40px; }

.frame-footnote {
  max-width: 640px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--grey-dark);
}

/* ---------- Dunkle Sektionen ---------- */

.section-dark {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(120, 130, 145, .18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(90, 100, 115, .14), transparent 60%),
    linear-gradient(160deg, #17181a 0%, #0d0e10 55%, #191b1e 100%);
  color: var(--white);
  padding: 110px 0;
}

.section-dark-flat {
  background: linear-gradient(180deg, #141517 0%, #1d1f22 100%);
}

/* ---------- Kurzvorstellung ---------- */

.intro {
  background: var(--white);
  padding: 10px 0 100px;
  text-align: center;
}

.intro blockquote {
  max-width: 840px;
  margin: 0 auto;
  font-family: var(--font-quote);
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.7;
  color: var(--dark);
}

.intro cite {
  display: block;
  margin-top: 40px;
  font-style: normal;
  font-family: var(--font-quote);
  font-size: clamp(17px, 2vw, 22px);
  color: var(--grey-dark);
}

/* ---------- Stimmungsbilder (Hintergrund-Layer) ---------- */

.bg-section { position: relative; overflow: hidden; }

.bg-section > .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  pointer-events: none;
}

/* Inhalt über dem Bild halten */
.bg-section > :not(.bg-photo) { position: relative; z-index: 1; }

/* Dunkle Sektionen: Bild schimmert dezent durch */
.bg-photo--dark { opacity: .36; }

/* Helle Sektionen: stark ausgewaschen, fast weiß */
.bg-photo--light { opacity: .22; }

/* ---------- Kennzahlen ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
}

.stat-card {
  border: 1px solid rgba(255, 255, 255, .85);
  padding: 44px 30px 40px;
  text-align: center;
}

.stat-card .stat-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: 1px;
  color: #b9bec5;
}

.stat-card.stat-highlight .stat-number { color: var(--white); }

.stat-card p {
  margin-top: 18px;
  font-size: 16px;
  color: #e8eaec;
}

/* Hochwertigere, ruhigere Variante: größer, einheitlich, mehr Luft */
.stats-grid--premium {
  max-width: 1120px;
  gap: 64px;
}

.stats-grid--premium .stat-card {
  padding: 56px 34px 50px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .22);
}

.stats-grid--premium .stat-number {
  font-size: clamp(52px, 6vw, 72px);
  letter-spacing: 1.5px;
  color: var(--white);
}

.stats-grid--premium .stat-card p {
  margin: 22px auto 0;
  max-width: 270px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #dfe2e6;
}

/* ---------- Binsenweisheit ---------- */

.wisdom {
  background: var(--grey-light);
  padding: 60px 0;
  text-align: center;
}

.wisdom blockquote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.35;
  color: #9aa1ab;
  max-width: 900px;
  margin: 0 auto;
}

.wisdom cite {
  display: block;
  margin-top: 40px;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  color: #7d8590;
}

/* ---------- Gastgeber ---------- */

.host {
  background: linear-gradient(120deg, #8d8f92 0%, #a3a5a8 55%, #8f9194 100%);
  color: var(--white);
  padding: 60px 0;
}

.host-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.host h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  margin-bottom: 28px;
}

.host p { max-width: 52ch; margin-bottom: 18px; }

.host .btn { margin-top: 16px; }

.host-portrait {
  width: min(400px, 84%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 auto;
  background: linear-gradient(160deg, #3a3d42, #1c1e21);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.host-portrait span {
  font-family: var(--font-head);
  font-size: 84px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #cfd3d8;
}

.host-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}

/* ---------- Familie ---------- */

.page-hero {
  padding: 110px 0 90px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 34px;
}

.page-hero .lead {
  max-width: 880px;
  margin: 0 auto 18px;
  color: #e4e6e9;
}

.page-hero .lead strong { color: var(--white); }

.page-hero .lead-strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 26px;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 44px;
  max-width: 1180px;
  margin: 60px auto 0;
}

.family-card {
  background: rgba(210, 212, 215, .82);
  color: var(--dark);
  padding: 150px 34px 58px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.family-logo {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.family-logo img {
  max-width: 82%;
  max-height: 64%;
  object-fit: contain;
}

.family-logo-dark { background: #17181b; }

.family-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.5;
  margin-bottom: 26px;
}

.family-card h3.company-name {
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.family-card p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #23272c;
}

.family-card p strong { color: var(--black); }

.family-card .btn { margin-top: auto; }

/* Ansprechpartner in den Familien-Karten */

.card-people-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3c4147;
  margin: 26px 0 18px;
}

.card-people {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.card-people-stack {
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.person { text-align: center; max-width: 150px; }

.person img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  filter: grayscale(100%);
}

.person .p-name {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--black);
  line-height: 1.35;
}

.person .p-name a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.person .p-name a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.person-placeholder {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: rgba(0, 0, 0, .08);
  border: 1.5px dashed rgba(0, 0, 0, .25);
}

.person .p-role {
  font-size: 13px;
  color: #4a4f55;
  line-height: 1.4;
  margin-top: 3px;
}

.family-section { padding-bottom: 130px; }
.family-section .container { padding-top: 70px; }

/* ---------- Kleinster Kreis ---------- */

.panel-frame {
  max-width: 940px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .9);
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
  text-align: center;
}

.panel-frame h1, .panel-frame h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 30px;
}

.panel-frame p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: #e6e8ea;
}

.panel-frame .btn { margin-top: 26px; }

.centered-cta {
  text-align: center;
  padding: 130px 0;
}

.centered-cta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  margin-bottom: 30px;
}

.centered-cta p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #e6e8ea;
}

/* ---------- Kontakt ---------- */

.access-panel { padding: 140px 0; }

.contact-section {
  background: linear-gradient(120deg, #8f9194 0%, #9d9fa2 60%, #8a8c8f 100%);
  color: var(--white);
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 30px;
}

.contact-info p { margin-bottom: 14px; }
.contact-info a { text-decoration: underline; text-underline-offset: 3px; }

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--white);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  margin-bottom: 26px;
}

.contact-form textarea { min-height: 220px; resize: vertical; }

.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, .55);
  outline-offset: 1px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  margin-bottom: 22px;
}

.consent input { margin-top: 5px; width: 16px; height: 16px; }

.form-note { font-size: 15px; margin-bottom: 22px; }

.contact-form .btn {
  width: 100%;
  background: #3a3d41;
  border-color: #3a3d41;
}

.contact-form .btn:hover { background: var(--white); color: var(--dark); }

.form-feedback { margin-top: 16px; font-size: 15px; display: none; }
.form-feedback.visible { display: block; }

/* ---------- Impressum ---------- */

.legal { padding: 110px 0 130px; max-width: 780px; }
.legal h1 { font-family: var(--font-head); font-size: clamp(30px, 4vw, 38px); margin-bottom: 36px; }
.legal h2 { font-family: var(--font-head); font-size: 21px; margin: 34px 0 12px; }
.legal p { margin-bottom: 10px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #d3d4d6;
  padding: 44px 0 36px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer-nav a {
  color: var(--grey-dark);
  font-size: 16px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.footer-nav a:hover { color: var(--black); }
.footer-nav a.active { color: #5b7a94; border-bottom-color: #5b7a94; }

.site-footer .copyright { color: #4d6b85; font-size: 16px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .site-header .container { justify-content: center; }
  .host-grid, .contact-grid { grid-template-columns: 1fr; }
  .host-grid { gap: 40px; }
  .family-grid { gap: 56px; margin-top: 90px; }
  .family-card { margin-top: 70px; }
  .family-section .container { padding-top: 40px; }
  .page-hero { padding: 70px 0 50px; }
  .quote-hero { padding: 60px 0 70px; }
  .page-light .access-panel { padding: 80px 0; }
  .contact-section { padding: 70px 0; }
  .legal { padding: 70px 0 90px; }
  .stats-grid--premium { gap: 36px; }
}

/* ==========================================================
   Ergänzungen: Überarbeitung Juli 2026
   ========================================================== */

/* Startseite: großer Titel im Zitat-Rahmen */
.quote-frame .frame-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 5.2vw, 54px);
  letter-spacing: 3px;
  color: var(--black);
  margin-bottom: 30px;
  white-space: nowrap;
}

/* Zitat-Block zwischen Gastgeber und Zugang */
.intro { padding: 60px 0; }

/* ---------- Helle Seitenvariante (Familie, Kleinster Kreis) ---------- */

.page-light {
  background: var(--white);
  color: var(--black);
}

.page-light .page-hero h1 { color: var(--black); }
.page-light .page-hero .lead { color: var(--grey-dark); }
.page-light .page-hero .lead strong { color: var(--black); }

.page-light .panel-frame { border-color: var(--line); }
.page-light .panel-frame h1,
.page-light .panel-frame h2 { color: var(--black); }
.page-light .panel-frame p { color: var(--grey-dark); }

.page-light .centered-cta h2 { color: var(--black); }
.page-light .centered-cta p { color: var(--grey-dark); }

.page-light .access-panel { padding: 130px 0; }

/* Familie: mehr Abstand zwischen Einleitungstext und Karten/Kreisen */
.family-grid { margin-top: 220px; gap: 72px; }

/* Familie: mehr Abstand zwischen Logo-Kreis und erster Textzeile */
.family-card { padding-top: 200px; }

/* Familie: Karten auf hellem Grund in dunklerem, neutralem Grau */
.page-light .family-card {
  background: #d3d2d0;
  border: 1px solid #c2c1bf;
}

/* Fester Höhenrahmen für den Beschreibungstext: dadurch beginnt die
   Zeile "Ihre Ansprechpartner" in allen Karten exakt auf derselben Höhe,
   auch wenn darüber unterschiedlich viel Abstand entsteht */
.family-card .card-text {
  position: relative;
  height: 300px;
  padding-bottom: 70px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Mehr-erfahren-Button fest an der Unterkante des Textrahmens verankert:
   dadurch liegen alle drei Buttons exakt auf derselben Höhe */
.family-card .card-text .btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
}

/* Beschreibungstext hervorheben */
.family-card .card-text p {
  font-size: 17px;
  font-weight: 600;
}

.family-card .card-people-label {
  margin-top: 110px;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #6b6f76;
}

/* Personen untereinander, jede Box gleich hoch: dadurch liegen die
   Fotos und Namen in allen Karten auf derselben Höhe */
.family-card .card-people {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.family-card .person {
  max-width: 170px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.family-card .person img,
.family-card .person-placeholder {
  width: 56px;
  height: 56px;
}

.family-card .person .p-name {
  font-size: 12.5px;
  margin-bottom: 0;
}

.family-card .person .p-role {
  font-size: 10.5px;
}

.family-card .person .p-contact {
  font-size: 10px;
}

.family-card .person .linkedin-btn {
  width: 20px;
  height: 20px;
  margin-top: auto;
}

@media (max-width: 860px) {
  .family-card .card-text { height: auto; min-height: 0; padding-bottom: 0; }
  .family-card .card-text .btn {
    position: static;
    transform: none;
    margin-top: 20px;
  }
  .family-card .person { min-height: 0; }
}

/* Kontaktangaben unter den Personen */
.person { max-width: 210px; }

.person .p-contact {
  font-size: 12.5px;
  color: #3c4147;
  line-height: 1.5;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.person .p-contact a { color: inherit; }
.person .p-contact a:hover { color: var(--accent); text-decoration: underline; }

.person .linkedin-btn {
  display: inline-flex;
  margin-top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  overflow: hidden;
  transition: opacity .2s ease;
}

.person .linkedin-btn:hover { opacity: .75; }
.person .linkedin-btn svg { width: 100%; height: 100%; display: block; }

/* ---------- Kontaktseite: helle Variante ---------- */

.page-light .contact-section {
  background: var(--white);
  color: var(--black);
}

.page-light .contact-info h2 { color: var(--black); }
.page-light .contact-info p { color: var(--grey-dark); }

.page-light .contact-form label,
.page-light .consent,
.page-light .form-note,
.page-light .form-feedback { color: var(--grey-dark); }

.page-light .contact-form input[type="text"],
.page-light .contact-form input[type="email"],
.page-light .contact-form textarea {
  border-color: var(--grey-dark);
  color: var(--black);
}

.page-light .contact-form input:focus,
.page-light .contact-form textarea:focus {
  outline: 2px solid rgba(0, 0, 0, .35);
}

/* Kontaktformular als hochwertige, ruhige Karte */
.contact-card {
  width: min(980px, 92%);
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .14);
  padding: clamp(40px, 6vw, 72px);
}

.contact-card .contact-info h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 22px;
}

.contact-card .contact-info p {
  font-size: 15.5px;
  margin-bottom: 12px;
}

.contact-card .contact-form label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}

.contact-card .contact-form input[type="text"],
.contact-card .contact-form input[type="email"],
.contact-card .contact-form textarea {
  border: 1.5px solid #e2e3e5;
  border-radius: 10px;
  background: var(--grey-light);
  padding: 14px 16px;
  font-size: 15.5px;
  color: var(--black);
  transition: border-color .2s ease, background .2s ease;
}

.contact-card .contact-form input::placeholder,
.contact-card .contact-form textarea::placeholder {
  color: #a8acb2;
}

.contact-card .contact-form input:focus,
.contact-card .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.contact-card .contact-form textarea { min-height: 160px; }

.contact-card .consent {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.6;
}

.contact-card .form-note {
  font-size: 13px;
  color: #9aa0a8;
}

.contact-card .contact-form .btn {
  background: var(--dark);
  border-color: var(--dark);
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 13.5px;
  letter-spacing: .5px;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}

.contact-card .contact-form .btn:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--dark);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .contact-card { padding: 32px 26px; }
}

.page-light .contact-form .btn:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--dark);
}

/* ---------- Kleinster Kreis: drei Säulen + Partner-Blöcke ---------- */

.kreis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  margin-top: 190px;
  margin-bottom: 150px;
}

/* Uhrwerk.AI (zweiter Block der Tech-Säule) hat keinen Nachbarn:
   natürliche Höhe, damit der Button direkt nach dem Text folgt */
.kreis-col .pillar-partner:nth-of-type(2) {
  height: auto;
}

.kreis-col .pillar-partner:nth-of-type(2) .partner-btn {
  margin-top: 12px;
}

.kreis-col {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 0 36px;
}

.kreis-col:first-child { padding-left: 0; }
.kreis-col:last-child { padding-right: 0; }

/* Stilvolle Trennlinie zwischen den Säulen: oben und unten auslaufend */
.kreis-col + .kreis-col {
  border-left: 1px solid;
  border-image: linear-gradient(to bottom,
    transparent, #b9b8b6 12%, #b9b8b6 88%, transparent) 1;
}

/* Graue Intro-Karte: feste Höhe als Ankerpunkt, damit die
   Partner-Blöcke aller Spalten auf derselben Höhe beginnen */
.kreis-card {
  height: 660px;
  padding-bottom: 48px;
  text-align: left;
  align-items: flex-start;
}

/* Grauer Kasten läuft nach unten sanft ins Weiß aus */
.page-light .kreis-card {
  background: linear-gradient(to bottom,
    #d3d2d0 0%, #d3d2d0 45%, rgba(211, 210, 208, 0) 100%);
  border: none;
}

.kreis-card .family-logo img {
  max-width: 56%;
  max-height: 56%;
}

.kreis-card .pillar-kicker {
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #3c4147;
  margin-bottom: 12px;
}

.kreis-card h3 {
  width: 100%;
  text-align: center;
}

.kreis-card > p {
  font-size: 16px;
  color: #23272c;
  text-align: justify;
  hyphens: auto;
}

/* Freistehender Partner-Block: feste Mindesthöhe, Button unten
   verankert -> Blöcke und Buttons nebeneinander auf einer Höhe */
.pillar-partner {
  height: 820px;
  padding: 30px 26px 28px;
  background: var(--white);
  border: 1px solid #c9c8c6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
}

.pillar-partner h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  text-align: center;
  margin-bottom: 6px;
}

.partner-sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #4a4f55;
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e3e1;
}

.pillar-partner p {
  font-size: 15.5px;
  margin-bottom: 12px;
  text-align: justify;
  hyphens: auto;
}

.pillar-partner .partner-sub,
.pillar-partner .benefit-label { text-align: center; }

.pillar-partner .benefit-label {
  font-weight: 700;
  margin: 14px 0 8px;
  text-align: left;
}

.pillar-partner .benefits {
  margin: 0 0 24px;
  padding-left: 20px;
}

.pillar-partner .benefits li {
  font-size: 15px;
  color: #23272c;
  margin-bottom: 7px;
}

.pillar-partner .partner-btn {
  align-self: center;
  margin-top: auto;
}

@media (max-width: 860px) {
  .kreis-grid { grid-template-columns: 1fr; row-gap: 90px; }
  .kreis-col { padding: 0; }
  .kreis-col + .kreis-col { border-left: none; }
  .kreis-card { height: auto; min-height: 0; }
  .pillar-partner { height: auto; min-height: 0; }
}

/* ==========================================================
   Parallax-Stacking-Effekt (Startseite): jeder Abschnitt bleibt
   beim Scrollen oben "kleben", bis der nächste ihn überlappt.
   ========================================================== */

.parallax-stack > section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, .16);
}

/* Vertrauen-Zitat, Zitat und Founder-Abschnitt bewusst kompakter:
   weniger Bildschirmfläche, schnellerer Übergang */
.parallax-stack > .wisdom,
.parallax-stack > .intro,
.parallax-stack > .host {
  min-height: 60vh;
}

.parallax-stack > section:nth-of-type(1) { z-index: 1; box-shadow: none; }
.parallax-stack > section:nth-of-type(2) { z-index: 2; }
.parallax-stack > section:nth-of-type(3) { z-index: 3; }
.parallax-stack > section:nth-of-type(4) { z-index: 4; }
.parallax-stack > section:nth-of-type(5) { z-index: 5; }
.parallax-stack > section:nth-of-type(6) { z-index: 6; }

/* Auf Mobilgeräten wirkt der Effekt oft unruhig (zu viele kurze,
   schnell wechselnde Sections) - dort deaktivieren wir ihn. */
@media (max-width: 700px) {
  .parallax-stack > section {
    position: static;
    min-height: 0;
    display: block;
    box-shadow: none;
  }
}

/* ==========================================================
   Ergänzungen: Gesamtüberarbeitung (Weißraum, Buttons, Bilder,
   Konsistenz) – Mobile-Feinabstimmung
   ========================================================== */

@media (max-width: 600px) {
  /* Buttons: auf Touch-Geräten etwas mehr Tapfläche als auf Desktop,
     damit "kleiner & eleganter" nicht zu Lasten der Bedienbarkeit geht */
  .btn { padding: 13px 22px; font-size: 14px; }

  /* Bildwirkung auf kleinen Screens etwas zurücknehmen, damit Text
     darüber weiterhin gut lesbar bleibt */
  .bg-photo--dark { opacity: .30; }
  .bg-photo--light { opacity: .18; }

  /* Founder-Portrait auf Mobile wieder etwas kompakter */
  .host-portrait { width: min(280px, 70%); }
}
