/* Project overview: a photographic entrance, quiet captions and two clear groups. */
.project-collection{--collection-ink:var(--wiese-ink);--collection-gold:var(--wiese-bronze);--collection-rule:var(--wiese-rule);background:#fff}
.project-collection>.wrap,.collection-team>.wrap{max-width:1320px}
.collection-hero{position:relative;padding-top:22px;margin-bottom:0;padding-bottom:32px}
.collection-hero-image{height:clamp(360px,37vw,510px);overflow:hidden;position:relative;background:#ddd8ce}
.collection-hero-image>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 64%}
.collection-hero-caption{position:absolute;right:20px;bottom:19px;display:flex;align-items:center;gap:25px;padding:10px 15px;background:#ffffffed;color:var(--wiese-ink);font-size:14px;line-height:1.5}
.collection-hero-caption>span{font-size:22px}
.collection-hero-title{position:absolute;left:5%;bottom:0;width:min(405px,42%);padding:30px 36px 27px;background:var(--wiese-ink);color:#fffdf6;border-top:2px solid var(--wiese-bronze)}
.collection-hero-title .eyebrow{font-size:12px;letter-spacing:.15em;color:var(--wiese-bronze-light);margin:0 0 17px}
.collection-hero-title h1{font-weight:400;font-size:clamp(38px,3.6vw,51px);line-height:1.09;letter-spacing:-.035em;margin:0 0 24px}
.collection-hero-title h1 em{font-family:Georgia,serif;font-weight:400;color:var(--wiese-bronze-light)}
.collection-hero-title>a{color:#fffdf6;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:14px;border-top:1px solid #cfc4b266;padding-top:16px}
.collection-hero-title>a>span{font-size:21px;color:var(--wiese-bronze-light)}
.collection-overview{padding-block:54px 32px;display:grid;grid-template-columns:1.15fr 1fr;gap:10%;align-items:center}
.collection-overview>p{font-size:18px;line-height:1.8;max-width:590px;margin:0;color:var(--wiese-text)}
.collection-jumps{display:flex;flex-direction:column;gap:0;justify-self:end;min-width:295px}
.collection-jumps a{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:12px;font-size:15px;color:var(--wiese-ink);border-bottom:1px solid var(--collection-rule)}
.collection-jumps a>span{font-size:13px;color:var(--wiese-bronze-ink);font-variant-numeric:tabular-nums}
.project-collection .collection-toolbar{border-top:0;margin-bottom:38px;padding:10px 0 17px;gap:22px}
.project-collection .collection-filters{gap:8px 20px}
.project-collection .collection-filters button{padding:8px 0;min-height:44px;background:transparent;font-size:14px;border-bottom:2px solid transparent;color:var(--wiese-muted)}
.project-collection .collection-filters button[aria-pressed="true"]{color:var(--wiese-ink);background:transparent;border-color:var(--wiese-bronze-ink)}
.project-collection .collection-filters button:hover{color:var(--wiese-ink);background:transparent;border-color:var(--wiese-rule)}
.project-collection .collection-result{font-size:13px}
.project-collection .collection-section{padding-bottom:80px}
.project-collection .collection-section,.collection-team{scroll-margin-top:160px}
.collection-group-heading{display:flex;justify-content:space-between;align-items:baseline;gap:30px;margin:0 0 30px}
.collection-group-heading h2{font-size:clamp(23px,2.25vw,29px);line-height:1.3;font-weight:400;letter-spacing:-.025em;margin:0;color:var(--wiese-ink)}
.collection-group-heading>[data-group-count]{font-size:13px;white-space:nowrap;color:var(--wiese-muted);margin:0}
.project-collection .collection-grid{column-gap:clamp(28px,5vw,72px);row-gap:65px}
.project-collection .collection-photo{aspect-ratio:3/2;background:var(--wiese-surface)}
.project-collection .collection-image-contained{background:var(--wiese-surface)}
.project-collection .collection-image-contained img{object-fit:contain}
.collection-project-link{position:absolute;right:0;bottom:0;display:flex;gap:27px;align-items:center;padding:12px 18px;background:var(--wiese-surface);color:var(--wiese-ink);font-size:14px;line-height:1.4}
.collection-project-link>span{font-size:21px;line-height:1;transition:transform .3s ease}
.project-collection .collection-image-label{bottom:10px;left:10px;font-size:12px;max-width:calc(100% - 164px)}
.project-collection .collection-copy{padding:18px 0 0;display:block}
.project-collection .collection-kicker{font-size:13px;letter-spacing:.025em;color:var(--wiese-muted);line-height:1.6;margin:0 0 5px;display:block}
.project-collection .collection-copy h3{font-size:clamp(22px,2.05vw,28px);font-weight:500;letter-spacing:-.025em;line-height:1.25;margin:0 0 13px;text-wrap:initial}
.collection-details{display:flex;justify-content:space-between;align-items:baseline;gap:14px;border-top:1px solid var(--collection-rule);padding-top:12px;font-size:14px;line-height:1.65;color:var(--wiese-muted)}
.collection-details p{font-size:inherit;margin:0}
.collection-details>span{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.collection-details>span:empty{display:none}
.collection-team{background:var(--wiese-surface);padding:45px 0 75px;border-top:1px solid var(--wiese-rule)}
.collection-team-description{font-size:16px;line-height:1.75;color:var(--wiese-muted);max-width:635px;margin:12px 0 0}
.collection-team .collection-group-heading{margin-bottom:37px}
.project-collection [hidden]{display:none!important}
.project-collection a:focus-visible{outline:2px solid var(--wiese-bronze-ink);outline-offset:5px}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .project-collection .collection-link:hover .collection-photo img{transform:scale(1.025);transition-duration:1.4s}
 .project-collection .collection-link:hover .collection-image-contained img{transform:none}
 .project-collection .collection-link:hover .collection-project-link{background:#eeeae2}
 .project-collection .collection-link:hover .collection-project-link>span{transform:translate(2px,-2px)}
}
@media(max-width:1000px){
 .collection-overview{gap:7%}
 .collection-jumps{min-width:270px}
 .collection-details{display:block}
 .collection-details>span{display:block;margin-top:3px}
 .project-collection .collection-copy h3{font-size:24px}
}
@media(max-width:760px){
 .collection-hero{padding-top:12px;padding-bottom:0}
 .collection-hero-image{height:auto;aspect-ratio:4/3}
 .collection-hero-image>img{object-position:58% 55%}
 .collection-hero-caption{right:10px;bottom:10px;font-size:12px;padding:7px 10px;gap:16px}
 .collection-hero-title{position:relative;left:auto;bottom:auto;width:auto;margin:-14px 18px 0 0;padding:23px 24px;z-index:1}
 .collection-hero-title h1{font-size:36px;margin-bottom:19px}
 .collection-hero-title .eyebrow{font-size:12px;margin-bottom:12px}
 .collection-overview{grid-template-columns:1fr;padding:30px 0 15px;gap:20px}
 .collection-overview>p{font-size:16px;line-height:1.75}
 .collection-jumps{justify-self:stretch;min-width:0}
 .collection-jumps a{font-size:14px;gap:15px}
 .project-collection .collection-toolbar{display:block;margin-bottom:25px;padding:8px 0 14px}
 .project-collection .collection-filters{gap:0 19px}
 .project-collection .collection-result{margin:10px 0 0}
 .project-collection .collection-section,.collection-team{scroll-margin-top:135px}
 .collection-group-heading{gap:12px;align-items:flex-start;margin-bottom:23px}
 .collection-group-heading h2{font-size:23px}
 .collection-group-heading>[data-group-count]{font-size:12px;padding-top:5px}
 .project-collection .collection-grid{grid-template-columns:1fr;gap:38px}
 .project-collection .collection-copy{padding-top:14px}
 .project-collection .collection-copy h3{font-size:24px;margin-bottom:10px}
 .collection-details{display:flex;font-size:14px;flex-wrap:wrap;gap:4px 16px}
 .collection-details>span{margin:0}
 .collection-project-link{font-size:13px;padding:10px 14px;gap:22px}
 .project-collection .collection-section{padding-bottom:45px}
 .collection-team{padding-block:33px 45px}
 .collection-team-description{font-size:15px;margin-top:13px}
 .collection-team .collection-group-heading{margin-bottom:26px}
}
@media(prefers-reduced-motion:reduce){.collection-project-link>span{transition:none;transform:none}}

/* Keep the approved project collection independent of the restored site palette. */
.project-collection{
 --wiese-bronze:#a08966;--wiese-bronze-ink:#766448;--wiese-bronze-light:#cfc4b2;
 --wiese-ink:#252525;--wiese-text:#4f4f4b;--wiese-muted:#676760;
 --wiese-surface:#f7f5f0;--wiese-rule:#dedbd4;color:var(--wiese-ink);
}

.project-collection .collection-image-label{background:#ffffffed;color:var(--wiese-text)}
.project-collection .collection-project-link{background:#fff;color:var(--wiese-ink)}
.project-collection .collection-result{color:var(--wiese-muted)}

.project-collection{--ink:var(--wiese-ink);--muted:var(--wiese-muted);--bronze:var(--wiese-bronze);--accent:var(--wiese-bronze-ink);--paper:#fff;--soft:var(--wiese-surface);--line:var(--wiese-rule);--dark:var(--wiese-ink)}

/* Direct return links retain an accessible margin above the project card. */
.collection-card[id^="projekt-"]{scroll-margin-top:144px}
