.projects-page { --project-orange: #ff9538; }
.projects-intro { max-width: 1040px; padding: 55px 24px 40px; margin: auto; text-align: center; }
.projects-intro h1, .participate > h2 { margin: 0 0 6px; color: #ffb21c; font-weight: 700; font-size: 38px; letter-spacing: -1.5px; }
.projects-intro h2, .participate > h3 { margin: 0 0 12px; font-size: 27px; font-weight: 700; letter-spacing: -1px; }
.projects-intro > p { margin: 0; font-size: 16px; line-height: 1.25; }
.project-divider { display: block; width: 120px; height: 20px; margin: 8px auto; color: var(--fc-orange); }
.project-button { display: inline-block; padding: 11px 16px; background: var(--project-orange); color: white; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 1.1; text-align: center; }
.project-button:hover { background: #df7900; color: white; }
.projects-intro > .project-button { padding-inline: 30px; }
.project-cards { max-width: 1200px; margin: auto; padding: 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; }
.project-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 24px; align-items: end; }
.project-art { display: block; width: 100%; height: auto; aspect-ratio: 104 / 147; object-fit: cover; }
.project-card h2 { font-size: clamp(20px, 2.6vw, 32px); letter-spacing: -1px; line-height: 1; margin: 0; font-weight: 600; }
.project-card h3 { font-size: 12px; line-height: 1.15; margin: 4px 0; font-weight: 600; }
.project-card p { font-size: 10px; line-height: 1.25; font-weight: 300; margin: 0 0 10px; }
.project-honeycomb { position: relative; width: min(940px, 88vw); height: 870px; margin: 175px auto 120px; --hex-width: 24%; --hex-height: 176px; }
.project-hex { position: absolute; left: calc(var(--x) * 18.7%); top: calc(210px + var(--y) * 88px); width: var(--hex-width); height: var(--hex-height); filter: drop-shadow(0 0 7px #0003); }
.project-hex > span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: white; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.project-hex img { display: block; width: 58%; max-height: 65%; object-fit: contain; }
.project-hex:hover { filter: drop-shadow(0 0 8px #f2910080); }
.project-travelling-light { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.project-travelling-light path { fill: none; stroke: #ff9800; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 35 965; animation: project-light-travel 7s linear infinite; }
.project-travelling-light .light-halo { stroke-width: 11px; filter: blur(5px); opacity: .8; }
.project-travelling-light .light-core { stroke: #ffb52e; stroke-width: 2.5px; opacity: 1; }
@keyframes project-light-travel { from { stroke-dashoffset: 35; } to { stroke-dashoffset: -965; } }
@media (prefers-reduced-motion: reduce), (max-width: 700px) { .project-travelling-light { display: none; } }
.project-note { position: absolute; left: calc(var(--x) * 18.7% - 2%); width: 28%; text-align: center; }
.project-note h3 { font-size: 29px; letter-spacing: -1px; font-weight: 600; line-height: 1; margin: 0; }
.project-note h4 { font-size: 13px; margin: 4px 0; }
.project-note p { max-width: 220px; margin: 0 auto 10px; font-size: 10px; line-height: 1.25; font-weight: 300; }
.project-note-top { top: 20px; }
.project-note-top::after { content: ''; position: absolute; top: 155px; left: 50%; height: 35px; width: 2px; background: var(--fc-orange); }
.project-note-bottom { top: calc(210px + var(--y) * 88px + 208px); }
.project-note-bottom::before { content: ''; position: absolute; bottom: calc(100% + 7px); left: 50%; height: 25px; width: 2px; background: var(--fc-orange); }
.project-note-bottom[style*="--y:2"] { top: 695px; }
.project-note-bottom[style*="--y:2"]::before { height: 100px; }
.participate { border-top: 6px solid var(--fc-orange); border-bottom: 6px solid var(--fc-orange); padding: 22px 24px 0; text-align: center; margin-bottom: 75px; }
.participate-content { max-width: 1080px; margin: 28px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 35px 200px; position: relative; padding: 18px 0 42px; }
.participate-line { position: absolute; top: 0; left: 50%; width: 60px; height: calc(100% * 100 / 99); clip-path: inset(0 0 1%); transform: translateX(-50%); }
.participate-item { display: flex; align-items: flex-start; gap: 20px; }
.participate-item img { width: 48px; height: 48px; object-fit: contain; }
.participate-item h3 { font-size: 17px; line-height: 1.05; margin: 0 0 4px; font-weight: 700; }
.participate-item p { font-size: 15px; font-weight: 300; line-height: 1.1; margin: 0; color: #999; }
.participate-left { flex-direction: row-reverse; text-align: right; }
.participate-right { text-align: left; }
.participate-cta { grid-column: 2; justify-self: center; border-radius: 24px; background: var(--fc-orange); padding: 9px 25px; }
.main-navigation .nav-link[aria-current="page"] { color: var(--fc-orange); }
@media (max-width: 1000px) {
  .project-cards { gap: 35px; }
  .project-card { gap: 14px; }
  .project-honeycomb { --hex-height: 150px; }
  .project-hex { top: calc(210px + var(--y) * 75px); }
  .project-note h3 { font-size: 23px; }
  .participate-content { gap: 30px 100px; }
}
@media (max-width: 700px) {
  .projects-intro { padding-top: 35px; }
  .projects-intro h1, .participate > h2 { font-size: 31px; }
  .projects-intro h2, .participate > h3 { font-size: 21px; }
  .projects-intro > p { font-size: 14px; line-height: 1.5; }
  .project-cards { grid-template-columns: 1fr; max-width: 530px; }
  .project-card h2 { font-size: 26px; }
  .project-card p { font-size: 12px; line-height: 1.4; }
  .project-honeycomb { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 28px 18px; width: auto; height: auto; margin: 70px auto; padding: 0 24px; max-width: 530px; }
  .project-hex { position: static; width: 100px; height: 95px; grid-column: 1; align-self: center; }
  .project-note { position: static; width: auto; grid-column: 2; text-align: left; }
  .project-note p { max-width: none; font-size: 12px; margin: 8px 0; }
  .project-note h3 { font-size: 24px; }
  .project-note::before, .project-note::after { display: none; }
  .project-hex:nth-child(1), .project-note:nth-child(9) { grid-row: 1; }
  .project-hex:nth-child(2), .project-note:nth-child(10) { grid-row: 2; }
  .project-hex:nth-child(3), .project-note:nth-child(11) { grid-row: 3; }
  .project-hex:nth-child(4), .project-note:nth-child(12) { grid-row: 4; }
  .project-hex:nth-child(5), .project-note:nth-child(13) { grid-row: 5; }
  .project-hex:nth-child(6), .project-note:nth-child(14) { grid-row: 6; }
  .project-hex:nth-child(7), .project-note:nth-child(15) { grid-row: 7; }
  .project-hex:nth-child(8), .project-note:nth-child(16) { grid-row: 8; }
  .participate-content { grid-template-columns: 1fr; gap: 28px; padding-left: 24px; }
  .participate-line { left: 0; width: 15px; }
  .participate-item { flex-direction: row; text-align: left; gap: 14px; }
  .participate-cta { grid-column: 1; }
}

/* Drei Darstellungen, eine Projektauswahl. */
.projects-page { display: grid; grid-template-columns: 146px minmax(0, 1fr); gap: 24px; padding: 0 28px 40px 20px; align-items: start; }
.projects-view-content { min-width: 0; }
.project-view-switcher { position: sticky; top: 24px; padding-top: 36px; text-align: center; }
.project-view-switcher > p { font-size: 15px; font-weight: 700; line-height: 1.25; margin: 0 0 20px; color: var(--fc-charcoal); letter-spacing: .04em; }
.project-view-tabs { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.project-view-tabs::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 2px); width: 4px; background: var(--fc-orange); }
.project-view-tabs button { position: relative; width: 132px; height: 116px; border: 0; padding: 4px; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); background: var(--fc-orange); color: var(--fc-charcoal); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; isolation: isolate; transition: color .2s, transform .2s; }
.project-view-tabs button::before { content: ''; position: absolute; inset: 4px; clip-path: inherit; background: white; z-index: -1; transition: background .2s; }
.project-view-tabs .view-number { font-size: 30px; font-weight: 700; line-height: 1.1; }
.project-view-tabs button[aria-selected="true"]::before { background: var(--fc-orange); }
.project-view-tabs button:hover { transform: translateX(4px); }
.project-view-tabs button:focus-visible::before { background: var(--fc-charcoal); }
.project-view-tabs button:focus-visible { color: white; outline: none; }
.project-view[hidden] { display: none !important; }
.project-view:not([hidden]) { animation: project-view-enter .35s ease both; }
.projects-view-content .project-honeycomb { width: min(940px, 100%); margin-top: 20px; margin-bottom: 40px; }
.projects-view-content .project-cards { padding: 0; }
.projects-view-content .participate { margin-bottom: 0; }
@keyframes project-view-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
 .projects-page { grid-template-columns: 110px minmax(0,1fr); gap: 18px; padding-inline: 14px; }
 .project-view-tabs button { width: 104px; height: 92px; font-size: 11px; }
 .project-view-tabs .view-number { font-size: 25px; }
 .project-view-switcher > p { font-size: 12px; }
 .projects-view-content .project-cards { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
 .projects-page { grid-template-columns: 84px minmax(0,1fr); gap: 12px; padding: 0 12px 28px 8px; }
 .project-view-switcher { top: 12px; padding-top: 35px; }
 .project-view-switcher > p { font-size: 10px; letter-spacing: 0; }
 .project-view-tabs button { width: 80px; height: 72px; font-size: 9px; }
 .project-view-tabs .view-number { font-size: 22px; }
 .projects-view-content .projects-intro h1 { font-size: 28px; }
 .projects-view-content .projects-intro h2 { font-size: 18px; }
 .projects-view-content .project-card { grid-template-columns: 1fr; }
 .projects-view-content .project-art { max-width: 240px; }
 .projects-view-content .project-honeycomb { padding: 0; grid-template-columns: 68px minmax(0,1fr); gap: 28px 10px; }
 .projects-view-content .project-hex { width: 68px; height: 65px; }
 .projects-view-content .project-note h3 { font-size: 19px; overflow-wrap: anywhere; }
 .projects-view-content .participate { padding-inline: 0; }
 .projects-view-content .participate-item { flex-wrap: wrap; }
 .projects-view-content .participate-content { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) { .project-view:not([hidden]) { animation: none; } .project-view-tabs button { transition: none; } }

/* Vertikale Ansichtsleiste nach der Skizze. */
.project-view-tabs { width: fit-content; margin: 0 auto; padding: 9px; gap: 12px; border: 2px solid var(--fc-orange); border-radius: 999px; background: #fffaf2; box-shadow: 0 5px 18px #3c3c3b0a; }
.project-view-tabs::before, .project-view-tabs button::before { display: none; }
.project-view-tabs button { width: 66px; height: 66px; padding: 0; clip-path: none; border: 2px solid #f2910066; border-radius: 50%; background: white; color: var(--fc-charcoal); transition: background .18s, color .18s, border-color .18s; }
.project-view-tabs .view-number { font-size: 27px; line-height: 1; }
.project-view-tabs button > span:not(.view-number) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.project-view-tabs button[aria-selected="true"] { background: var(--fc-orange); border-color: var(--fc-orange); color: #292929; box-shadow: 0 3px 10px #f2910033; }
.project-view-tabs button:hover { transform: none; border-color: var(--fc-orange); background: #ffecd0; color: #292929; }
.project-view-tabs button[aria-selected="true"]:hover { background: var(--fc-orange); }
.project-view-tabs button:focus-visible { outline: 2px solid var(--fc-charcoal); outline-offset: 3px; color: #292929; }
@media(max-width:700px) { .project-view-tabs { padding: 7px; gap: 10px; } .project-view-tabs button { width: 48px; height: 48px; } .project-view-tabs .view-number { font-size: 22px; } }
@media(prefers-reduced-motion:reduce) { .project-view-tabs button { transition: none; } }
