/* Shared semantic flowchart: one source, two routes. No additional script. */
.ggf-flow { --flow-teal: #08796f; margin: 48px 0 0; color: var(--ink, #0b3256); scroll-margin-top: 100px; }
.ggf-explainer .ggf-flow { margin-top: 0; }
.ggf-flow * { min-width: 0; box-sizing: border-box; }
.ggf-flow .ggf-flow-heading { margin-bottom: 26px; }
.ggf-flow .ggf-flow-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #286a9a; }
.ggf-flow .ggf-flow-heading h2 { margin: 0; font: 500 clamp(28px, 3.4vw, 42px)/1.2 var(--serif); text-wrap: balance; }
.ggf-flow .ggf-flow-headnote { max-width: 850px; margin: 14px 0 0; color: #486478; font-size: 14px; line-height: 1.55; }
.ggf-flow-map { display: grid; grid-template-columns: minmax(140px, .85fr) 80px minmax(0, 3fr); align-items: center; padding: 28px; border-radius: 16px; background-color: #fbfdfe; background-image: linear-gradient(#dbe5ed55 1px, transparent 1px), linear-gradient(90deg, #dbe5ed55 1px, transparent 1px); background-size: 32px 32px; }
.ggf-flow-company-stack { align-self: stretch; display: grid; grid-template-rows: 80px minmax(90px, 1fr) 156px; }
.ggf-flow-holding { display: grid; place-items: center; padding: 16px 10px; border: 1.5px solid #0b3256; border-radius: 12px; background: #fff; text-align: center; font-size: 23px; }
.ggf-flow-holding-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.ggf-flow-holding-link::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 1.5px; background: #b86761; }
.ggf-flow-holding-link::after { content: ""; position: absolute; top: 1px; left: calc(50% - 4px); width: 9px; height: 9px; border-top: 1.5px solid #b86761; border-left: 1.5px solid #b86761; transform: rotate(45deg); }
.ggf-flow-holding-link strong, .ggf-flow-holding-link span { position: relative; z-index: 1; }
.ggf-flow-holding-link strong { border-radius: 20px; padding: 7px 11px; background: #faeae7; color: #8d3e36; font-size: 13px; }
.ggf-flow-holding-link span { padding: 3px 6px; background: #fbfdfe; color: #526c7f; font-size: 12px; }
.ggf-flow-company { display: grid; justify-items: center; gap: 8px; padding: 24px 12px; border: 2px solid #0b3256; border-radius: 12px; background: white; text-align: center; }
.ggf-flow-company strong { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.25; }
.ggf-flow-company span { font-size: 14px; color: #526c7f; }
.ggf-flow .ggf-flow-icon { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ggf-flow .ggf-flow-fork { width: 100%; height: 442px; overflow: visible; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ggf-flow-fork-private { stroke: #b86761; }
.ggf-flow-fork-pension { stroke: var(--flow-teal); }
.ggf-flow-mobile-fork { display: none; }
.ggf-flow-routes { display: grid; gap: 30px; }
.ggf-flow-route { display: grid; grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1.05fr); grid-template-rows: 48px 158px; align-items: center; }
.ggf-flow-route-label { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 12px; }
.ggf-flow-route-label small { color: #486478; font-size: 12px; line-height: 1.4; }
.ggf-flow-route-label > span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.ggf-flow-route-label strong { display: inline-block; border-radius: 24px; padding: 7px 13px; background: #faeae7; color: #8d3e36; font-size: 13px; line-height: 1.3; font-weight: 700; }
.ggf-flow-pension .ggf-flow-route-label strong { background: #dff3eb; color: #08665e; }
.ggf-flow-node { height: 130px; padding: 16px 12px; display: grid; grid-template-rows: 34px 1fr; justify-items: center; align-items: center; gap: 8px; text-align: center; border: 1.5px solid #b8cad7; border-radius: 10px; background: white; }
.ggf-flow-pension .ggf-flow-node { border-color: #5d9d94; color: #08665e; }
.ggf-flow .ggf-flow-node h3, .ggf-flow .ggf-flow-destination h3 { margin: 0; font: 750 clamp(17px, 1.7vw, 21px)/1.3 var(--sans); }
.ggf-flow .ggf-flow-arrow { width: 100%; height: 32px; fill: none; stroke: #b86761; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ggf-flow-pension .ggf-flow-arrow { stroke: var(--flow-teal); }
.ggf-flow-destination { --flow-pot-height: 158px; position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; align-items: center; text-align: center; gap: 6px; padding: 39px 14px 22px; height: var(--flow-pot-height); }
/* Same silhouette, half the visible area: sqrt(0.5) on both axes. Text stays unscaled. */
.ggf-flow-private .ggf-flow-destination { --flow-pot-width-scale: .7071067812; --flow-pot-height-scale: .7071067812; width: calc(100% * var(--flow-pot-width-scale)); height: calc(var(--flow-pot-height) * var(--flow-pot-height-scale)); justify-self: center; padding: 18px 4px 8px; }
.ggf-flow .ggf-flow-vessel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; fill: #e7eff7; stroke: #7797b4; stroke-width: 1.4; }
.ggf-flow-vessel ellipse { fill: #f3f7fb; }
.ggf-flow-pension .ggf-flow-vessel { fill: #dff3eb; stroke: #4c9488; }
.ggf-flow-pension .ggf-flow-vessel ellipse { fill: #f0faf6; }
.ggf-flow-pension .ggf-flow-destination { color: #075c53; }
.ggf-flow .ggf-flow-destination p { margin: 0; font-size: 13px; line-height: 1.4; color: #426379; }
.ggf-flow .ggf-flow-pension .ggf-flow-destination p { color: #28695d; }
.ggf-flow .ggf-flow-footnote { margin: 16px 0 4px; max-width: 950px; font-size: 13px; line-height: 1.55; color: #486478; }
.ggf-flow-details { margin: 0; font-size: 13px; color: #4c6578; }
.ggf-flow-details summary { width: fit-content; min-height: 44px; padding: 12px 0; cursor: pointer; font-weight: 700; color: #305b7a; }
.ggf-flow-details summary::after { content: "+"; display: inline-block; margin-left: 12px; font-size: 18px; }
.ggf-flow-details[open] summary::after { content: "−"; }
.ggf-flow-details p { margin: 0 0 12px; max-width: 1000px; }
.ggf-flow-details a, .ggf-flow-booking { text-decoration: underline; text-underline-offset: 4px; }
.ggf-flow-contact { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-top: 22px; margin-top: 14px; border-top: 1px solid #c7d7e2; }
.ggf-flow-contact > strong { font: 500 25px/1.3 var(--serif); }
.ggf-flow-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.ggf-flow-actions .button { min-height: 48px; max-width: 100%; padding: 17px 20px; font-size: 14px; white-space: normal; text-align: center; }
.ggf-flow-booking { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 700; }
.ggf-flow :focus-visible { outline: 3px solid #2f80ba; outline-offset: 4px; }
@media (max-width: 900px) {
  .ggf-flow-map { padding: 20px; grid-template-columns: 145px 50px minmax(0, 1fr); }
  .ggf-flow-route { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); grid-template-rows: 70px 158px; }
  .ggf-flow-route-label { align-content: center; }
  .ggf-flow .ggf-flow-fork { height: 486px; }
  .ggf-flow .ggf-flow-node h3, .ggf-flow .ggf-flow-destination h3 { font-size: 17px; }
}
@media (max-width: 680px) {
  .ggf-flow { margin-top: 32px; }
  .ggf-flow-map { display: block; padding: 20px 10px 16px; }
  .ggf-flow-company-stack { width: 178px; margin: 0 auto; grid-template-rows: 56px 90px auto; }
  .ggf-flow-holding { font-size: 21px; padding: 10px; }
  .ggf-flow-company { width: 178px; margin: 0 auto; padding: 14px 10px; gap: 4px; }
  .ggf-flow .ggf-flow-company .ggf-flow-icon { width: 28px; height: 28px; }
  .ggf-flow-company span { font-size: 13px; }
  .ggf-flow .ggf-flow-fork { display: none; }
  .ggf-flow-mobile-fork { display: block; height: 38px; width: calc(50% + 8px); margin: 0 auto; position: relative; }
  .ggf-flow-mobile-fork::before { content: ""; position: absolute; top: 0; left: 50%; height: 19px; border-left: 1.5px solid #8aa1b4; }
  .ggf-flow-mobile-fork::after { content: ""; position: absolute; left: 0; right: 0; top: 18px; bottom: 0; border: 1.5px solid #8aa1b4; border-bottom: 0; border-radius: 8px 8px 0 0; }
  .ggf-flow-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .ggf-flow-route { grid-template-columns: minmax(0, 1fr); grid-template-rows: 104px 132px 40px 200px; text-align: center; }
  .ggf-flow-route-label { grid-column: 1; height: 104px; align-content: start; justify-content: center; gap: 5px; padding-bottom: 10px; }
  .ggf-flow-route-label > span { width: 100%; }
  .ggf-flow-route-label small { width: 100%; font-size: 11px; }
  .ggf-flow-route-label strong { padding: 6px 8px; border-radius: 9px; font-size: 12px; }
  .ggf-flow-node { height: 132px; padding: 12px 7px; }
  .ggf-flow .ggf-flow-node h3, .ggf-flow .ggf-flow-destination h3 { font-size: 15px; }
  .ggf-flow .ggf-flow-arrow { width: 40px; height: 24px; transform: rotate(90deg); justify-self: center; }
  .ggf-flow-destination { --flow-pot-height: 200px; padding: 35px 7px 18px; }
  /* Keep labels readable on narrow screens; .8 × .625 still gives half the area. */
  .ggf-flow-private .ggf-flow-destination { --flow-pot-width-scale: .8; --flow-pot-height-scale: .625; }
  .ggf-flow .ggf-flow-destination p { font-size: 12px; }
  .ggf-flow-actions { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; }
  .ggf-flow .ggf-flow-eyebrow { font-size: 11px; letter-spacing: .04em; }
}
@media print { .ggf-flow-map { break-inside: avoid; } .ggf-flow-contact { display: none; } }
