/* Sub pages (/organisationen, /persoenlich): hero, section heads, examples, price tiers, workshop,
   guarantee, FAQ. Header, contact and footer come from site.css. */

/* Hero */
.hero { position: relative; height: 88svh; min-height: 620px; background: var(--night); color: var(--night-text); overflow: hidden; }
.hero canvas, .hero svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero canvas { opacity: 0; }
.hero-copy { position: absolute; left: var(--pad); top: 26vh; max-width: 560px; z-index: 3; }
.hero-copy .mono { color: var(--blue); }
.hero-copy h1 { margin: 16px 0 30px; font-weight: 500; font-size: clamp(40px, 5.6vw, 82px); line-height: 0.98; letter-spacing: -0.04em; }

/* Section heads */
.sec { padding: 16vh var(--pad); border-top: 1px solid var(--rule); }
.sec > .mono { color: var(--deep); }
.sec > h2 { margin-top: 12px; font-weight: 500; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -0.035em; line-height: 1.03; max-width: 20ch; }

/* Beispiele: accordion with the workflow map next to it */
.ex-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.ex-map { width: 100%; aspect-ratio: 4 / 3; display: block; overflow: visible; position: sticky; top: 110px; }
.note { margin-top: 14px; color: var(--ink-2); }

/* Etappen: illustrated price tiers side by side, the route climbs from summit to summit */
.tiers { position: relative; margin-top: 48px; }
.tier-list:has(> :nth-child(4)) { --tiers: 4; } /* the script sets it too; this covers no-JS */
.tier-list { list-style: none; display: grid; grid-template-columns: repeat(var(--tiers, 3), minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 1200px) and (min-width: 901px) { .tier-list:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Four narrow tiles in one row: titles may wrap, so they get two lines each to keep the prices aligned. */
@media (min-width: 1201px) { .tier-list:has(> :nth-child(4)) .tier h3 { min-height: 2.1em; } }
.tier { background: var(--card, rgba(255,255,255,0.55)); border: 1px solid var(--rule); outline: none; }
.tier-art { display: block; width: 100%; aspect-ratio: 400 / 230; background: linear-gradient(var(--sky, #E6ECF4), transparent 85%); }
.tier-body { padding: 10px 30px 30px; display: grid; align-content: start; }
.tier-body > .mono { color: var(--deep); }
.tier h3 { margin-top: 10px; font-weight: 500; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.03em; line-height: 1.05; }
.price { justify-self: start; display: inline-flex; align-items: center; min-height: 50px; padding: 10px 36px 10px 18px; background: var(--accent); color: var(--on-accent, var(--ink));
  font: 500 clamp(15px, 1.25vw, 19px) / 1.25 var(--sans); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
.tier .price { margin-top: 16px; }
.tier .notes { margin-top: 12px; min-height: 4.4em; display: grid; align-content: start; gap: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.tier ul { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); list-style: none; display: grid; gap: 12px; }
.tier ul li { display: grid; grid-template-columns: 30px 1fr; gap: 0 14px; align-items: center; }
.tier ul svg { grid-row: span 2; align-self: start; width: 28px; height: 28px; }
.tier .tick { stroke-dasharray: 26; }
.tier ul b { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; line-height: 1.25; }
.tier ul span { grid-column: 2; max-height: 0; opacity: 0; overflow: hidden; color: var(--ink-2); font-size: 14px; line-height: 1.45; transition: max-height .4s var(--ease), opacity .3s; }
.tier:hover ul span, .tier:focus-within ul span { max-height: 4.5em; opacity: 1; }
@media (hover: none) { .tier ul span { max-height: none; opacity: 1; } }
.tiers-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }

/* Workshop: a separate, smaller offer below the tiers (not a stage of the route) */
.workshop { margin-top: 48px; padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px 56px; align-items: center; border: 1px solid var(--rule); background: var(--card, rgba(255,255,255,0.55)); }
.workshop .mono { color: var(--deep); }
.workshop h3 { margin-top: 10px; font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.workshop p { margin-top: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 52ch; }
.workshop-facts { display: grid; gap: 14px; justify-items: start; }
.workshop-facts .mono { color: var(--ink-2); }

/* Garantie */
.guarantee { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.guarantee .mono { color: var(--deep); }
.guarantee h2 { margin-top: 12px; font-weight: 500; font-size: clamp(34px, 4.2vw, 64px); letter-spacing: -0.04em; line-height: 1.0; max-width: 14ch; }
.guarantee .lead { margin-top: 22px; font-size: 19px; line-height: 1.55; max-width: 44ch; }
.guarantee ol { list-style: none; margin-top: 26px; display: grid; gap: 12px; counter-reset: g; }
.guarantee ol li { counter-increment: g; display: grid; grid-template-columns: 40px 1fr; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.guarantee ol li::before { content: counter(g); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 500 11px var(--mono); color: var(--ink); }
.gauge { width: 100%; aspect-ratio: 1 / 1; display: block; }

/* FAQ */
.faq { margin-top: 40px; max-width: 900px; }
.faq button { font-size: 21px; }

@media (max-width: 900px) {
  .hero-copy { top: 110px; right: var(--pad); }
  .ex-grid, .guarantee { grid-template-columns: 1fr; }
  .ex-map { position: static; }
  .tier-list { grid-template-columns: 1fr; }
  .tier-body { padding: 6px 22px 24px; }
  .tier .notes { min-height: 0; }
  .tiers-route { display: none; }
  .workshop { grid-template-columns: 1fr; padding: 26px 22px; }
}
