#referenzen{scroll-margin-top:100px}.reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.reference-card{margin:0;background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}.reference-card>a{display:block;overflow:hidden}.reference-card img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;transition:transform .2s}.reference-card>a:hover img{transform:scale(1.025)}.reference-card figcaption{padding:20px}.reference-card h3{margin:0 0 10px;color:var(--forest)}.reference-card figcaption a{font-size:.9rem;text-decoration:underline;text-underline-offset:4px}.reference-card a:focus-visible{outline:3px solid var(--leaf);outline-offset:-3px}@media(max-width:760px){.reference-grid{grid-template-columns:1fr;gap:20px}.reference-card img{aspect-ratio:4/3;object-position:center 62%}}@media(prefers-reduced-motion:reduce){.reference-card img{transition:none}}
.photo-open{overflow:hidden}#photo-viewer{border:0;padding:56px 12px 12px;background:#10251b;color:white;border-radius:12px;max-width:95vw;max-height:95dvh;overflow:auto}#photo-viewer::backdrop{background:rgba(0,0,0,.85)}#photo-viewer img{display:block;width:auto;height:auto;max-width:88vw;max-height:78dvh;object-fit:contain;margin:auto}#photo-viewer button{position:absolute;right:12px;top:10px;background:white;color:#063d27;border:0;border-radius:6px;padding:10px 16px;font:inherit;cursor:pointer}
.reference-card img,#photo-viewer img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}

.about-person{display:grid;grid-template-columns:minmax(200px,340px) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:center}.about-person>img{width:100%;height:auto;border-radius:16px}.about-person p{max-width:650px}#ueber-mich{scroll-margin-top:100px}@media(max-width:700px){.about-person{grid-template-columns:1fr}.about-person>img{max-width:300px}}

.hero-card img.hero-portrait{width:112px;height:140px;object-fit:cover;border-radius:10px;filter:none;margin:0 0 20px}@media(max-width:700px){.hero-card img.hero-portrait{width:88px;height:110px}}
