/* Referenzen · vorhandene Foodcraft-Typografie, echte Veranstaltungen */
.ref-page { --ref-line: rgba(184,175,163,.3); }
.ref-hero { padding: 24px 0 64px; background: var(--bg-stage-deep); color: var(--fg-on-stage); }
.ref-breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--fc-service-stone); margin-bottom: 42px; }
.ref-breadcrumb a { text-decoration-line: underline; text-underline-offset: var(--link-underline-offset); }
.ref-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.75fr); align-items: end; gap: 70px; }
.ref-eyebrow { margin-bottom: 20px; color: var(--fc-gold-ink); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ref-hero .ref-eyebrow { color: var(--fc-gold-bright); }
.ref-hero h1 { font-size: clamp(46px,6vw,86px); line-height: 1.04; }
.ref-hero .ref-dot { color: var(--fc-craft-gold); }
.ref-hero p:not(.ref-eyebrow) { color: var(--fg-on-stage-muted); font-size: 18px; line-height: 1.65; max-width: 48ch; }
.ref-hero-actions { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.ref-hero-actions a:not(.btn) { color: var(--fc-gold-bright); font-size: 14px; font-weight: 600; text-decoration-line: underline; text-underline-offset: var(--link-underline-offset); }
.ref-main { scroll-margin-top:116px; padding: 60px 0 88px; }
.ref-toolbar { margin-bottom: 40px; }
.ref-filters { display: flex; flex-wrap: wrap; gap: 10px 24px; border-bottom: 1px solid var(--hairline-light); padding-bottom: 20px; }
.ref-filters[hidden] { display:none; }
.ref-filter { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; font: inherit; font-size: 14px; color: var(--fg-muted); cursor:pointer; }
.ref-filter span { margin-left: 6px; font-size: 11px; }
.ref-filter[aria-pressed="true"] { color: var(--fc-gold-ink); border-bottom-color:var(--fc-gold-ink); font-weight:600; }
.ref-filter:hover { color:var(--fc-gold-ink); }
.ref-result { margin-top: 18px; font-size: 13px; color: var(--fg-muted); }
.ref-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:48px 32px; }
.ref-card { min-width:0; border-bottom:1px solid var(--hairline-light); padding-bottom:26px; scroll-margin-top:116px; }
.ref-card[hidden] { display:none; }
.ref-picture { margin:0 0 22px; }
.ref-picture img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.ref-picture figcaption { font-size:11px; line-height:1.55; color:var(--fg-muted); margin-top:10px; }
.ref-type { color:var(--fc-gold-ink); font-size:10px; font-weight:600; line-height:1.6; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; }
.ref-card h2 { font-size:28px; line-height:1.12; text-wrap:balance; }
.ref-meta { display:flex; flex-wrap:wrap; gap:7px 16px; margin:17px 0 0; font-size:12px; line-height:1.5; color:var(--fg-muted); }
.ref-description { margin-top:17px; font-size:15px; line-height:1.7; color:var(--fg-muted); }
.ref-details { margin-top:20px; }
.ref-details summary { position:relative; padding:0 28px 0 0; list-style:none; font-size:13px; font-weight:600; line-height:1.6; cursor:pointer; }
.ref-details summary::-webkit-details-marker { display:none; }
.ref-details summary::after { content:'+'; position:absolute; right:1px; top:-5px; font-size:23px; color:var(--fc-gold-ink); font-weight:400; }
.ref-details[open] summary::after { content:'−'; }
.ref-details p { margin-top:14px; font-size:14px; line-height:1.7; color:var(--fg-muted); }
.ref-details .ref-link { margin-top:17px; }
.ref-link { display:inline-block; color:var(--fc-gold-ink); font-weight:600; font-size:13px; text-decoration-line: underline; text-underline-offset: var(--link-underline-offset); }
.ref-link:hover { color:var(--fc-charcoal); }
.ref-typography { margin-bottom:22px; aspect-ratio:3/2; background:var(--fc-wine); color:var(--fc-warm-ivory); padding:clamp(22px,2.3vw,36px); display:flex; flex-direction:column; justify-content:space-between; }
.ref-typography .ref-type { color:var(--fc-gold-bright); font-size:10px; }
.ref-typography strong { display:block; font-family:var(--font-display); font-weight:500; font-size:clamp(32px,3.6vw,52px); line-height:1.06; max-width:13ch; }
.ref-typography small { display:block; color:#d7d0c4; font-size:12px; line-height:1.5; margin-top:12px; }
.ref-card:nth-child(4n+2) .ref-typography { background:var(--bg-stage); }
.ref-closing { padding:60px 0 72px; background:var(--fc-wine); color:var(--fc-warm-ivory); }
.ref-closing .container { display:flex; justify-content:space-between; gap:40px; align-items:center; }
.ref-closing h2 { font-size:clamp(36px,4vw,56px); max-width:18ch; }
.ref-closing p { font-size:16px; color:#d7d0c4; margin-top:20px; max-width:52ch; line-height:1.7; }
.ref-closing .btn { flex-shrink:0; }
@media(max-width:1100px) {
 .ref-hero-grid { gap:36px; }
 .ref-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ref-typography strong { font-size:44px; }
}
@media(max-width:800px) {
 .ref-hero-grid { grid-template-columns:minmax(0,1fr); gap:26px; }
 .ref-hero p:not(.ref-eyebrow) { max-width:60ch; }
 .ref-closing .container { align-items:flex-start; flex-direction:column; }
 .ref-hero { padding-bottom:40px; }
 .ref-breadcrumb { margin-bottom:30px; }
}
@media(max-width:580px) {
 .ref-grid { grid-template-columns:minmax(0,1fr); gap:42px; }
 .ref-main { padding-top:36px; }
 .ref-filters { gap:6px 20px; }
 .ref-filter { font-size:13px; }
 .ref-hero h1 { font-size:clamp(42px,11vw,60px); }
 .ref-hero p:not(.ref-eyebrow) { font-size:16px; }
 .ref-typography strong { font-size:clamp(32px,9vw,48px); }
 .ref-hero .btn, .ref-closing .btn { max-width:100%; padding:18px 20px; font-size:14px; }
}

.ref-picture--detail { margin:20px 0 0; }
.ref-card-cta { margin-top:20px; }

.ref-picture--detail img { aspect-ratio:auto; }
