/* HHW Direktankauf – Unterseiten-Bausteine nach den Unterseiten von usaequityinvestors.com */
.wrap.wide { max-width: 1260px; }
.white { background: var(--white); }
.btn-tall { height: 52px; }
.btn.secondary { background: var(--white); color: var(--navy); border-color: var(--teal); }
.btn.secondary:hover { background: var(--mint); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .42); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }

/* Brotkrumen */
.breadcrumb { font-size: 13px; line-height: 1.5; color: #dadde2; margin: 0 0 20px; }
.breadcrumb a { color: var(--green-light); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }
.breadcrumb span:last-child { margin: 0; }

/* Hero: Übersicht / Artikel (directory-hero) */
.page-hero {
  --hero: url(img/geo/heppenheim.webp);
  color: var(--white); text-align: center; padding: 75px 0;
  background: linear-gradient(90deg, rgba(38, 42, 48, .97), rgba(38, 42, 48, .9) 50%, rgba(38, 42, 48, .66)), var(--hero) center / cover;
}
.page-hero .eyebrow, .form-hero .eyebrow, .final .eyebrow { color: var(--green-light); }
.page-hero h1, .form-hero h1, .about-hero h1 {
  font: 650 clamp(2.2rem, 4vw, 3.6rem)/1.13 var(--head); letter-spacing: -.035em; overflow-wrap: break-word;
}
.page-hero h1 { color: var(--white); max-width: 900px; margin: 10px auto 17px; }
.page-hero .lead { color: #e3ebf1; max-width: 850px; margin: 0 auto; font-size: 16.5px; line-height: 1.65; }
.page-hero .hero-actions, .page-hero .trust { justify-content: center; }
.page-hero .lead + .lead { margin-top: 12px; }
.page-hero.left .trust, .page-hero.left .hero-actions { justify-content: flex-start; }
.page-hero.left { text-align: left; padding: 72px 0 65px; }
.page-hero.left h1, .page-hero.left .lead { margin-left: 0; }
.page-hero .small { font-size: 12px; color: #c9d4de; margin-top: 12px; }
.proposal-disclosure {
  color: #dfe2e6; background: rgba(255, 255, 255, .055); border-left: 2px solid rgba(169, 189, 207, .72);
  max-width: 790px; margin: 16px auto 0; padding: 10px 13px; text-align: left; font-size: 13px; line-height: 1.5;
}

/* Hero mit Formular (state-hero) */
.form-hero {
  --hero: url(img/geo/heppenheim.webp);
  color: var(--white); padding: 58px 0 62px; border-bottom: 1px solid rgba(169, 189, 207, .5);
  background: linear-gradient(90deg, rgba(38, 42, 48, .99), rgba(38, 42, 48, .94) 56%, rgba(38, 42, 48, .68)), var(--hero) center / cover;
}
.form-grid { display: grid; grid-template-columns: 1.12fr .78fr; gap: 54px; align-items: center; }
.form-hero h1 { color: var(--white); max-width: 780px; margin: 9px 0 15px; }
.form-hero .lead { font-size: 22px; line-height: 1.65; margin: 0 0 12px; max-width: 750px; }
.form-hero .support { color: #e6e8eb; font-size: 15.5px; line-height: 1.68; max-width: 710px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; }
.trust span { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.trust span::before { content: '✓'; color: var(--green-light); }

/* Formularkarte auf Unterseiten */
.form-hero .lead-card, .side-form .lead-card {
  margin: 0; width: 100%; max-width: 480px; justify-self: end; color: var(--ink);
  border-radius: 14px; padding: 24px; box-shadow: 0 12px 34px rgba(38, 42, 48, .08);
}
.lead-card.lead-wide { max-width: 560px; }
.lead-card > h2 { font: 600 24.8px/1.12 var(--head); letter-spacing: -.025em; color: var(--navy); }
.form-prompt { color: #5b6b7c; font-size: 13.5px; line-height: 1.45; margin: 4px 0 10px; }
.form-progress { display: flex; gap: 5px; margin: 9px 0 14px; }
.form-progress span { flex: 1; height: 3px; background: var(--line); border-radius: 2px; transition: background .2s; }
.form-progress span.active { background: var(--green); }
fieldset.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
legend.step-tag { padding: 0; }
.form-nav { display: flex; gap: 12px; margin-top: 6px; }
.form-nav .btn { flex: 1; }
.back-button { background: var(--white); border-color: var(--line); color: var(--navy); flex: 0 0 auto !important; }
.back-button:hover { background: var(--grey); border-color: var(--line); }
.form-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin-top: 12px; }
.form-note a { color: var(--teal); }
.call { text-align: center; font-size: 13px; color: #536579; margin-top: 12px; }
.call a { color: var(--navy); font-weight: 600; }
.field textarea {
  width: 100%; border: 1px solid #b9c4cc; border-radius: 6px; padding: 12px 14px; font-size: 15px; color: var(--navy);
  resize: vertical; outline: none;
}
.field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(58, 74, 90, .12); }
.field [aria-invalid="true"] { border-color: #b42318; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.choices.one-col { grid-template-columns: 1fr; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span {
  display: block; height: 100%; border: 1px solid #b9c4cc; border-radius: 8px; padding: 11px 14px;
  font-size: 14px; line-height: 1.45; color: var(--navy); transition: background .15s, border-color .15s;
}
.choices label:hover span { border-color: var(--teal); }
.choices input:checked + span { background: var(--mint); border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.choices input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 12px 0; padding: 14px; background: var(--grey); border-radius: 8px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: var(--navy); font-weight: 500; overflow-wrap: anywhere; }
.success-title { font: 600 22px/1.3 var(--head); color: var(--navy); margin-bottom: 8px; }
.form-done .btn { margin-top: 16px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }

/* Über uns (about-hero) */
.about-hero {
  padding: 64px 0 68px;
  background: radial-gradient(circle at 8% 14%, rgba(79, 107, 130, .12), transparent 40%), linear-gradient(180deg, #f4f5f7, #fff);
}
.about-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 92px; align-items: center; }
.about-hero .breadcrumb { color: #555c66; margin-bottom: 28px; }
.about-hero .breadcrumb a { color: #0b5a51; font-weight: 800; }
.about-hero h1 { color: var(--navy); max-width: 760px; margin: 13px 0 20px; }
.about-lead { color: #405468; font-size: 16px; line-height: 1.75; max-width: 790px; }
.about-lead + .about-lead { margin-top: 14px; }
.about-hero .proposal-disclosure { color: #555c66; background: rgba(255, 255, 255, .6); border-left-color: var(--teal); margin: 14px 0 0; max-width: 760px; }
.founder-card {
  margin: 0; background: var(--white); border: 1px solid var(--green); border-radius: 12px; overflow: hidden;
  max-width: 410px; box-shadow: 0 25px 60px rgba(38, 42, 48, .15);
}
.founder-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mint); }
.founder-card figcaption { background: var(--navy); color: var(--white); padding: 16px 20px 18px; }
.founder-card strong { display: block; font: 600 20px/1.3 var(--head); }
.founder-card small { display: block; color: var(--green); font: 700 11px/1.5 var(--body); letter-spacing: .08em; text-transform: uppercase; margin: 2px 0 6px; }
.founder-card p { font-size: 13px; color: #e1e4e8; }
.story-head { display: grid; grid-template-columns: 1.66fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.story-head .h2, .section-head .h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.story-head > p { color: #555c66; line-height: 1.7; }
.mint-band { padding: 64px 0; background: linear-gradient(135deg, var(--mint) 0%, #f3f4f6 100%); }
.standards-grid { display: grid; grid-template-columns: 1fr 1.78fr; gap: 90px; align-items: center; }
.standards-grid ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.standards-grid li { background: rgba(255, 255, 255, .78); border: 1px solid var(--green); border-radius: 8px; padding: 21px; }
.standards-grid li b { display: block; font: 600 16px/1.4 var(--head); color: var(--navy); margin-bottom: 4px; }
.standards-grid li span { display: block; font-size: 14.4px; line-height: 1.58; color: #555c66; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.person { display: grid; grid-template-columns: 130px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.person img, .monogram { width: 130px; height: 130px; border-radius: 10px; object-fit: cover; }
.monogram { display: grid; place-items: center; background: var(--navy); color: var(--green-light); font: 700 40px/1 var(--head); letter-spacing: .04em; }
.person h3 { font-size: 23px; font-weight: 600; letter-spacing: -.015em; }
.person .role { font: 600 12px/1.5 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 4px 0 12px; }
.person p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.person p + p { margin-top: 10px; }
.person .checks { margin-top: 12px; }
.person .contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; }
.person .contact a { color: var(--teal); font-weight: 500; }

/* Inhaltskarten (core-section) */
.section-head { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.section-head p { color: #5e656e; line-height: 1.7; margin-top: 13px; }
.core-content { display: grid; gap: 15px; }
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.core-grid.three { grid-template-columns: repeat(3, 1fr); }
.core-grid.four { grid-template-columns: repeat(4, 1fr); }
.core-section { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 34px; }
.core-section > .eyebrow { margin-bottom: 8px; }
.core-section h2 { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.22 var(--head); letter-spacing: -.025em; margin-bottom: 11px; }
.core-section h3 { font: 600 19px/1.4 var(--head); letter-spacing: -.015em; color: var(--navy); margin: 22px 0 8px; }
.core-section p, .core-section li { color: #5a616b; font-size: 16px; line-height: 1.75; }
.core-section > p { max-width: 74ch; }
.core-section p + p { margin-top: 12px; }
.core-section ul:not(.checks), .core-section ol { padding-left: 20px; margin: 12px 0 0; }
.core-section .checks li { color: #5a616b; font-size: 15px; }
.core-section .tlink { margin-top: 20px; }
.core-section .btn { margin-top: 22px; }
.core-grid .core-section h2 { font-size: 1.5rem; }
.facts { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts li b { color: var(--navy); font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 30px; }
.stat-row div { border: 1px solid rgba(79, 107, 130, .5); border-radius: 10px; padding: 18px 20px; background: var(--white); }
.stat-row b { display: block; font: 650 30px/1.1 var(--head); color: var(--navy); letter-spacing: -.03em; }
.stat-row span { font-size: 13px; color: var(--muted); }

/* Schritte */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps-grid.four { grid-template-columns: repeat(4, 1fr); }
.steps-grid .step { display: block; background: var(--white); border: 1px solid rgba(79, 107, 130, .34); border-radius: 9px; padding: 23px 20px; text-align: left; }
.steps-grid .step h3 { font-size: 16.3px; margin-bottom: 8px; }
.steps-grid .step h3 span { display: block; color: var(--teal); font: 500 13px/1.6 var(--body); letter-spacing: .12em; margin-bottom: 6px; }
.steps-grid .step p { color: #617080; font-size: 15px; margin: 0; }
.disclosure {
  background: var(--mint); border-left: 3px solid var(--green); color: #3d444d;
  font-size: 13.6px; line-height: 1.7; padding: 18px 22px; margin: 24px 0;
}
.note { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 8px; padding: 18px 22px; margin: 22px 0; }
.note p { margin: 0 !important; }
.note p + p { margin-top: 10px !important; }

/* Link-Raster */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.link-grid a {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; background: var(--white); color: var(--navy);
  border: 1px solid #dce5eb; border-radius: 12px; padding: 16px 44px 16px 20px; text-decoration: none; position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.link-grid a::after { content: '→'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--teal); }
.link-grid a:hover { border-color: var(--green); box-shadow: 0 8px 22px rgba(38, 42, 48, .07); }
.link-grid span { font: 500 15px/1.35 var(--body); }
.link-grid small { font-size: 13px; line-height: 1.5; color: var(--muted); }
.link-grid.has-images { grid-template-columns: repeat(3, 1fr); }
.link-grid.has-images a { padding: 0; overflow: hidden; justify-content: flex-start; }
.link-grid.has-images img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.link-grid.has-images span { padding: 16px 18px; }
.link-grid.has-images a::after { top: auto; bottom: 14px; transform: none; }
.photo-credits { margin-top: 18px; font-size: 12px; color: #69707a; }
.photo-credits summary { cursor: pointer; }
.photo-credits ul { padding-left: 18px; margin: 10px 0 0; line-height: 1.8; }
.photo-credits a { color: #69707a; }

/* Regionalfoto */
.geo-photo-section { padding: 48px 0; background: var(--white); }
.geo-photo { margin: 0; background: var(--white); border: 1px solid var(--green); border-radius: 12px; overflow: hidden; box-shadow: 0 22px 55px rgba(38, 42, 48, .12); }
.geo-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.geo-photo figcaption { display: flex; justify-content: space-between; gap: 18px; padding: 14px 20px; font-size: 12px; line-height: 1.5; color: #5a616b; }
.geo-photo strong { display: block; font: 700 16.6px/1.3 var(--head); color: var(--navy); }
.photo-credit { max-width: 60%; text-align: right; }
.photo-credit a { color: #5a616b; }

/* Artikel (Situationen, Ratgeber) */
.article { max-width: 850px; margin: 0 auto; }
.article-meta { font-size: 14.4px; color: #2f343b; margin: 0 0 14px; }
.article-toc { background: #edf8f1; border-radius: 12px; padding: 24px; }
.article-toc strong { font-weight: 700; color: var(--ink); }
.article-toc ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.article-toc a { color: var(--teal); }
.article > section { margin: 36px 0; }
.article .eyebrow { margin: 0 0 6px; }
.article h2 { font: 600 28.8px/1.3 var(--head); letter-spacing: -.025em; color: var(--navy); margin: 0 0 16px; scroll-margin-top: 110px; }
.article h3 { font: 600 20px/1.4 var(--head); letter-spacing: -.015em; color: var(--navy); margin: 28px 0 8px; }
.article p, .article li { color: #2f343b; font-size: 16px; line-height: 1.8; }
.article p { margin: 0 0 16px; }
.article ul, .article ol:not(.toc-list) { padding-left: 22px; margin: 0 0 16px; }
.article li + li { margin-top: 6px; }
.article a { color: var(--teal); }
.article .tlink { color: var(--teal); }
.article .link-grid a, .article .btn { color: var(--navy); }
.article .btn.ghost { color: var(--white); }
.article ul.checks, .article ul.facts { padding-left: 0; }
.article [id], .core-section[id] { scroll-margin-top: 110px; }
.article .steps-grid { grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.article .core-grid { margin-top: 20px; }
.article .core-section { padding: 26px; }
.article .core-section h3 { margin-top: 0; }
.article .core-section p { margin: 0; font-size: 15px; }
.article .core-section p + p { margin-top: 10px; }
.compare.in-article { padding: 0; margin: 20px 0 0; }
.compare.in-article .ccard h3 { font-size: 20px; margin-top: 0; }
.note h3 { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--grey); color: var(--navy); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); margin-top: 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative; padding: 23px 40px 23px 0;
  font: 600 17px/1.5 var(--head); letter-spacing: -.015em; color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 26px/1 var(--body); color: var(--teal); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details > div, .faq-list details > p { color: #2f343b; font-size: 15px; line-height: 1.75; max-width: 700px; padding: 0 28px 24px 0; }
.faq-list details > div p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font: 600 28px/1.3 var(--head); letter-spacing: -.025em; color: var(--navy); }
.related ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-left: 20px; }

/* Rechtstexte */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 54px; padding: 55px 20px 72px; max-width: 1160px; margin: 0 auto; }
.toc { position: sticky; top: 125px; align-self: start; border: 1px solid rgba(79, 107, 130, .38); padding: 22px; background: var(--white); }
.toc strong { display: block; font: 700 13px/1.4 var(--head); color: var(--navy); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0; font-size: 14px; line-height: 1.45; color: #586878; text-decoration: none; }
.toc a:hover { color: var(--teal); }
.legal-copy { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 38px 44px; }
.legal-copy section + section { margin-top: 34px; }
.legal-copy h2 { font: 600 26.4px/1.3 var(--head); letter-spacing: -.025em; color: var(--navy); margin-bottom: 10px; scroll-margin-top: 110px; }
.legal-copy h3 { font: 600 18px/1.4 var(--head); color: var(--navy); margin: 22px 0 6px; }
.legal-copy p, .legal-copy li { color: #435466; font-size: 16px; line-height: 1.75; max-width: 74ch; }
.legal-copy p { margin: 12px 0; }
.legal-copy ul { padding-left: 22px; }
.legal-copy a { color: var(--teal); overflow-wrap: anywhere; }

/* Abschluss-Band (final) */
.final { background: var(--navy); color: var(--white); padding: 58px 0; }
.final .wrap { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.final h2 { color: var(--white); font: 600 clamp(2rem, 3.6vw, 3.25rem)/1.22 var(--head); letter-spacing: -.025em; max-width: 760px; margin: 7px 0 8px; }
.final p { color: #e1e4e8; }
.final p a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.final-actions { display: flex; gap: 10px; flex: none; }
.call-button { background: var(--white); border-color: var(--green); color: var(--navy); }
.call-button:hover { background: var(--mint); border-color: var(--green); }

@media (max-width: 1100px) {
  .form-grid { grid-template-columns: 1fr .9fr; gap: 32px; }
  .about-grid, .standards-grid { gap: 48px; }
  .core-grid.four, .steps-grid.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 930px) {
  .form-grid, .about-grid, .story-head, .standards-grid, .team-grid { grid-template-columns: 1fr; }
  .form-hero .lead-card, .side-form .lead-card { justify-self: start; max-width: 680px; }
  .founder-card { max-width: 360px; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .link-grid, .link-grid.has-images, .core-grid.three { grid-template-columns: 1fr 1fr; }
  .final .wrap { display: block; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .final-actions { margin-top: 20px; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .page-hero { padding: 54px 0; }
  .page-hero h1, .form-hero h1, .about-hero h1 { font-size: clamp(2rem, 8.3vw, 2.8rem); }
  .form-hero { padding: 37px 0 43px; }
  .form-hero .lead { font-size: 18px; }
  .trust span { flex: 1 1 140px; }
  .form-hero .lead-card, .side-form .lead-card { padding: 18px 15px; }
  .choices, .core-grid, .core-grid.three, .core-grid.four, .steps-grid, .steps-grid.four,
  .link-grid, .link-grid.has-images, .related ul, .stat-row, .standards-grid ul { grid-template-columns: 1fr; }
  .article .steps-grid, .article .core-grid, .compare.in-article { grid-template-columns: 1fr; }
  .core-section { padding: 24px 20px; }
  .person { grid-template-columns: 1fr; padding: 22px; }
  .geo-photo img { aspect-ratio: 4 / 3; }
  .geo-photo figcaption { flex-direction: column; }
  .photo-credit { max-width: none; text-align: left; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .legal-copy { padding: 24px 20px; }
  .article h2 { font-size: 24px; }
  .final { padding: 43px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .final-actions { display: grid; }
}

/* Startseite: Overlay-Hero (Foto rechts, Navy-Verlauf links) */
.hero-ov { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-ov-photo { position: absolute; top: 0; bottom: 0; right: 0; left: 36%; background: var(--photo) var(--pos, center) / cover no-repeat; }
.hero-ov-photo.flip { transform: scaleX(-1); }
.hero-ov-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 36%, rgba(38, 42, 48, .82) 46%, rgba(38, 42, 48, .2) 66%, rgba(38, 42, 48, 0) 82%),
              linear-gradient(0deg, rgba(38, 42, 48, .55), rgba(38, 42, 48, 0) 30%);
}
.hero-ov-grid { position: relative; padding: 56px 20px 64px; }
.hero-ov-copy { max-width: 600px; }
.hero-ov .eyebrow { color: var(--green-light); }
.hero-ov h1 { color: var(--white); font: 650 clamp(2.3rem, 4.2vw, 3.5rem)/1.1 var(--head); letter-spacing: -.035em; margin: 10px 0 16px; }
.hero-ov .hero-ov-sub { color: #dfe2e6; font-size: 17px; line-height: 1.65; max-width: 540px; }
.hero-ov .hero-ov-sub strong { color: var(--white); }
.hero-ov .lead-card { margin-top: 26px; max-width: 560px; color: var(--ink); border-radius: 14px; padding: 22px 24px; box-shadow: 0 24px 60px rgba(0, 10, 22, .32); border: 0; }
.hero-ov .trust { margin-top: 22px; }
.hero-ov .trust span { font-weight: 600; color: #e7eef4; }
.photo-note { position: absolute; right: 16px; bottom: 12px; font-size: 11px; color: rgba(255, 255, 255, .72); }
.photo-note a { color: inherit; }

/* Klick-Assistent */
.wiz-head { display: flex; flex-direction: column; gap: 4px; }
.wizard .wiz-head h2 { font: 600 20px/1.25 var(--head); color: var(--navy); letter-spacing: -.02em; }
.wiz-meta { display: flex; justify-content: space-between; align-items: center; font: 600 11.5px/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.wiz-badge { background: var(--mint); color: var(--teal); border-radius: 999px; padding: 3px 10px; font-size: 10.5px; }
.wiz-q { font: 600 19px/1.3 var(--head); color: var(--navy); letter-spacing: -.015em; padding: 0; margin-bottom: 4px; }
.wiz-q small { font: 500 12px/1 var(--body); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.wiz-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.wiz-foot { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.tiles label { position: relative; cursor: pointer; }
.tiles input, .choices.compact input { position: absolute; opacity: 0; }
.tiles span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 104px;
  border: 1px solid #b9c4cc; border-radius: 10px; padding: 14px 6px; text-align: center;
  font: 600 13px/1.25 var(--body); color: var(--navy); transition: border-color .15s, background .15s, transform .15s;
}
.tiles svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tiles label:hover span { border-color: var(--teal); transform: translateY(-1px); }
.tiles input:checked + span { background: var(--mint); border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.tiles input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.choices.compact span { padding: 9px 12px; font-size: 13.5px; }
.choices.compact .wide { grid-column: 1 / -1; }

/* Variantenwahl (nur Testseite) */
.variant-bar { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; gap: 6px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 14px; box-shadow: 0 10px 30px rgba(38, 42, 48, .18); font: 600 12px/1 var(--body); color: var(--navy); }
.variant-bar button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 12px; cursor: pointer; font: 600 12px/1 var(--body); color: var(--navy); }
.variant-bar button[aria-pressed="true"] { background: var(--green); border-color: var(--green); }

@media (max-width: 960px) {
  .hero-ov-photo { left: 0; bottom: auto; height: 420px; }
  .hero-ov-shade { background: linear-gradient(180deg, rgba(38, 42, 48, .1) 0, rgba(38, 42, 48, .55) 260px, var(--navy) 420px); }
  .hero-ov-grid { padding-top: 250px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .photo-note { top: 10px; bottom: auto; right: 12px; }
}
@media (max-width: 720px) {
  .hero-ov .lead-card { padding: 18px 16px; }
  .tiles span { min-height: 88px; }
  .variant-bar { left: 12px; right: 12px; justify-content: center; }
}
.variant-bar span { color: var(--muted); font-weight: 500; margin: 0 2px 0 8px; }
.variant-bar span:first-child { margin-left: 0; }
@media (max-width: 720px) { .variant-bar { flex-wrap: wrap; border-radius: 14px; } }
.nowrap { white-space: nowrap; }
.hero-classic .hero-person img { height: 640px; max-width: 470px; }
@media (max-width: 760px) { .hero-classic .hero-person img { height: 380px; } }

/* Über uns mit Film (ueber-uns.html, Testseiten ueber-uns-film-a/-b) – Farben nur über Variablen, damit die Paletten greifen */
.reel { position: relative; overflow: hidden; background: var(--navy); isolation: isolate; }
.reel-media, .reel-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-media { z-index: -2; }
.reel-media img { object-fit: cover; opacity: 0; animation: reel-slide 24s linear infinite; }
.reel-media img:nth-child(2) { animation-delay: 6s; }
.reel-media img:nth-child(3) { animation-delay: 12s; }
.reel-media img:nth-child(4) { animation-delay: 18s; }
.reel-media video { object-fit: cover; opacity: 0; transition: opacity .8s; }
.reel.has-video .reel-media video { opacity: 1; }
.reel.has-video .reel-media img { visibility: hidden; }
.reel.is-paused .reel-media img { animation-play-state: paused; }
@keyframes reel-slide {
  0% { opacity: 0; transform: scale(1); }
  4%, 25% { opacity: 1; }
  30% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}
.reel-toggle { position: absolute; right: 24px; bottom: 24px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .28); color: var(--white); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.reel-toggle:hover { background: rgba(0, 0, 0, .5); }
.reel-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.reel-toggle .i-play, .reel.is-paused .reel-toggle .i-pause { display: none; }
.reel.is-paused .reel-toggle .i-play { display: block; }
.reel-note { position: absolute; right: 24px; top: 20px; z-index: 2; font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .3); padding: 7px 10px; border-radius: 999px; }
.reel.has-video .reel-note { display: none; }
@media (prefers-reduced-motion: reduce) {
  .reel-media img { animation: none; transform: none; }
  .reel-media img:first-child { opacity: 1; }
}

/* Variante A: Vollbild-Hero */
.vhero { min-height: min(86vh, 780px); display: flex; align-items: flex-end; color: var(--white); }
.vhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, color-mix(in srgb, var(--navy) 92%, transparent) 0%, color-mix(in srgb, var(--navy) 35%, transparent) 48%, transparent 78%),
  linear-gradient(90deg, color-mix(in srgb, var(--navy) 72%, transparent) 0%, color-mix(in srgb, var(--navy) 30%, transparent) 45%, transparent 68%); }
.vhero-copy { padding: 140px 0 76px; max-width: 760px; }
.vhero .eyebrow { color: var(--mint); }
.vhero h1 { color: var(--white); hyphens: manual; font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.vhero p:not(.eyebrow) { margin-top: 20px; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 620px; }

/* Variante B: Film im Rahmen unter zentrierter Überschrift */
.vstage { padding: 74px 0 0; text-align: center; }
.vstage h1 { hyphens: manual; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; max-width: 900px; margin: 0 auto; }
.vstage .breadcrumb { color: var(--soft); }
.vstage .breadcrumb a { color: var(--teal); }
.vstage-sub { max-width: 680px; margin: 20px auto 0; color: var(--muted); font-size: 1.1rem; }
.vstage .hero-actions { justify-content: center; margin-top: 30px; }
.vstage-frame { margin-top: 56px; aspect-ratio: 21 / 9; border-radius: 28px; }
.vstage-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--navy) 45%, transparent), transparent 45%); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .vstage-frame { animation: stage-grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes stage-grow { from { transform: scale(.9); border-radius: 44px; } to { transform: scale(1); border-radius: 28px; } }
  }
}
/* Im Rahmen läuft der ganze Film: 16:9, damit keine Texttafel angeschnitten wird */
.vstage-frame.is-film { aspect-ratio: 16 / 9; }
.vstage-frame.is-film.has-video::before { display: none; }
.vstage-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1060px; margin: -52px auto 0; background: var(--white); border-radius: 18px; box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--navy) 55%, transparent); }
.vstage-stats div { padding: 26px 18px; }
.vstage-stats div + div { border-left: 1px solid var(--line); }
.vstage-stats b, .stat-boxes b { display: block; white-space: nowrap; font: 600 clamp(24px, 2.3vw, 32px)/1.1 var(--head); color: var(--navy); letter-spacing: -.02em; }
.vstage-stats span, .stat-boxes span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* Abschnitte */
.av-intro { max-width: 880px; }
.av-intro .h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.av-intro p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.stat-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.stat-boxes div { border: 1px solid var(--line); border-radius: 16px; padding: 30px 18px; text-align: center; }
.av-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.av-story img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.av-story .h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.av-story p:not(.eyebrow) { margin-top: 16px; color: var(--muted); line-height: 1.75; }
.av-story .tlink { margin-top: 24px; }
.av-quote { max-width: 860px; margin: 0 auto; }
.av-quote .qmark { display: block; font: 700 110px/.8 Georgia, 'Times New Roman', serif; color: var(--green); height: 56px; }
.av-quote blockquote { margin: 0; }
.av-quote blockquote p { font: 500 clamp(1.4rem, 2.6vw, 2.05rem)/1.45 var(--head); color: var(--navy); letter-spacing: -.01em; }
.av-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 15px; }
.av-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.av-quote figcaption img + img { margin-left: -24px; border: 2px solid var(--white); }
.av-quote figcaption b { color: var(--navy); display: block; }
.av-quote.center { text-align: center; }
.av-quote.center figcaption { justify-content: center; text-align: left; }

/* Film (lädt erst auf Klick) */
.film { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--navy); }
.film > img, .film > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--navy) 38%, transparent); pointer-events: none; transition: opacity .3s; }
.film.is-playing::after, .film.is-playing .film-play, .film.is-playing .film-label { opacity: 0; pointer-events: none; }
.film-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); transition: transform .2s; }
.film-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.film-play svg { width: 28px; height: 28px; margin-left: 5px; fill: currentColor; }
.film-label { position: absolute; z-index: 1; left: 24px; bottom: 20px; color: var(--white); font: 600 14px/1.3 var(--body); }
.film-label small { display: block; font-weight: 400; opacity: .8; }
.film-missing { position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: var(--white); color: var(--navy); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.film-transcript { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--white); color: var(--ink); text-align: left; }
.film-transcript summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.film-transcript p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.film-transcript strong { color: var(--navy); }
.av-film-dark .film-transcript strong { color: var(--white); }
.av-film-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.av-film-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.av-film-head .tlink { margin-top: 20px; }
.av-film-dark { background: var(--navy); color: rgba(255, 255, 255, .86); }
.av-film-dark .h2 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.9rem); }
.av-film-dark .eyebrow { color: var(--mint); }
.av-film-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.av-film-grid p:not(.eyebrow) { margin-top: 16px; line-height: 1.75; }
.av-film-dark .film-transcript { background: transparent; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .86); }
.av-film-dark .film-transcript summary { color: var(--white); }
.av-film-dark .film-transcript p { color: rgba(255, 255, 255, .72); }

/* Team-Kacheln (A) und Duo-Karten (B) */
.av-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.av-member { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--navy); }
.av-member img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.av-member:hover img { transform: scale(1.03); }
.av-member figcaption { position: absolute; inset: auto 0 0; padding: 70px 22px 22px; color: var(--white); background: linear-gradient(0deg, color-mix(in srgb, var(--navy) 88%, transparent), transparent); }
.av-member b { display: block; font: 600 20px/1.25 var(--head); }
.av-member small { display: block; margin-top: 3px; opacity: .85; font-size: 14px; }
.av-member.contact { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 28px; color: rgba(255, 255, 255, .85); background: linear-gradient(160deg, var(--teal), var(--navy)); }
.av-member.contact h3 { color: var(--white); font-size: 24px; line-height: 1.25; }
.av-member.contact .btn { align-self: flex-start; }
.av-member.contact a:not(.btn) { color: var(--white); font-weight: 600; text-decoration: none; }
.av-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.av-duo article { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: start; padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.av-duo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.av-duo h3 { font-size: 22px; }
.av-duo .role { color: var(--teal); font-weight: 600; font-size: 14px; margin-top: 2px; }
.av-duo p:not(.role) { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.av-duo .contact { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.av-duo .contact a { color: var(--teal); text-decoration: none; overflow-wrap: anywhere; }

/* Gründer, dezent unter den Bereichen */
.av-founders { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.av-founders .eyebrow { margin: 0; }
.av-founders figure { display: flex; align-items: center; gap: 14px; margin: 0; }
.av-founders img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.av-founders figcaption { color: var(--soft); font-size: 14px; line-height: 1.4; }
.av-founders b { display: block; color: var(--navy); font: 600 16px/1.3 var(--head); }

/* Ablauf in vier Schritten (B) */
.av-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.av-steps li { position: relative; padding-top: 64px; counter-increment: s; }
.av-steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font: 600 17px/1 var(--head); }
.av-steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 58px; right: -16px; height: 1px; background: var(--line); }
.av-steps b { display: block; font: 600 19px/1.3 var(--head); color: var(--navy); }
.av-steps span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Dunkles Band mit Bild (A) */
.av-band { background: var(--navy); color: rgba(255, 255, 255, .86); padding: 88px 0; }
.av-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.av-band .h2 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.9rem); }
.av-band .eyebrow { color: var(--mint); }
.av-band p:not(.eyebrow) { margin-top: 16px; line-height: 1.75; }
.av-band .btn { margin-top: 28px; }
.av-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }

/* Ortsgalerie: A blättert waagerecht, B als Mosaik */
.av-gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.av-gallery-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 640px; }
.av-gallery-nav { display: flex; gap: 8px; flex: none; }
.av-gallery-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-size: 18px; cursor: pointer; }
.av-gallery-nav button:hover { border-color: var(--navy); }
.av-gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 12px; scrollbar-width: thin; }
.av-gallery figure { flex: 0 0 min(380px, 78vw); margin: 0; scroll-snap-align: start; }
.av-gallery img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 16px; }
.av-gallery figcaption { margin-top: 12px; }
.av-gallery figcaption a { font: 600 17px/1.3 var(--head); color: var(--navy); text-decoration: none; }
.av-gallery figcaption small { display: block; color: var(--soft); font-size: 13px; }
.av-mosaic .av-gallery { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; }
.av-mosaic .av-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.av-mosaic .av-gallery figure:first-child img { aspect-ratio: auto; height: calc(100% - 52px); }
.av-gallery + .photo-credits { margin-top: 18px; }

@media (max-width: 960px) {
  .stat-boxes, .vstage-stats { grid-template-columns: 1fr 1fr; }
  .vstage-stats div:nth-child(3) { border-left: 0; }
  .vstage-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vstage-frame { aspect-ratio: 4 / 3; }
  .vstage-frame.is-film { aspect-ratio: 16 / 9; }
  .av-story, .av-band-grid, .av-film-grid, .av-duo { grid-template-columns: 1fr; gap: 36px; }
  .av-team { grid-template-columns: 1fr 1fr; }
  .av-steps { grid-template-columns: 1fr 1fr; }
  .av-steps li::after { display: none; }
  .av-mosaic .av-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .vhero-copy { padding: 120px 0 90px; }
  .reel-toggle { right: 16px; bottom: 16px; }
  .reel-note { right: 16px; top: 14px; }
  .vstage-frame { aspect-ratio: 4 / 5; border-radius: 20px; }
  .vstage-frame.is-film { aspect-ratio: 16 / 9; }
  .vstage-stats { margin: -40px 12px 0; }
  .av-team, .av-steps { grid-template-columns: 1fr; }
  .av-duo article { grid-template-columns: 1fr; }
  .av-duo img { max-width: 220px; }
  .av-gallery-nav { display: none; }
  .av-mosaic .av-gallery { grid-template-columns: 1fr; }
  .av-mosaic .av-gallery figure:first-child { grid-column: auto; grid-row: auto; }
  .av-mosaic .av-gallery figure:first-child img { aspect-ratio: 8 / 5; height: auto; }
}
