/* Reference page structures in the existing Thermobohr design system.
   Colours, typography and controls inherit from content.css. */
.reference-pagehead{padding-bottom:48px}.reference-pagehead .inner-copy{padding-bottom:0}.reference-pagehead h1{margin-bottom:0}
.reference-pagehead+.reference-intro{padding-top:55px}
.reference-split{align-items:center;gap:9%;grid-template-columns:1fr 1fr}.reference-split>*{min-width:0}
.reference-split h2{margin-top:18px}.reference-split .body-copy{margin-bottom:0;max-width:560px}
.reference-visual{margin:0;min-width:0}.reference-visual img{display:block;width:100%;height:auto;background:#e9eee4;border-radius:2px}
.reference-visual figcaption{font-size:10px;line-height:1.7;color:var(--ed-muted);margin-top:12px}
.reference-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:55px 0 0;border-top:1px solid var(--ed-rule);border-bottom:1px solid var(--ed-rule)}
.reference-metrics>div{padding:25px 28px}.reference-metrics>div:first-child{padding-left:0}.reference-metrics>div+div{border-left:1px solid var(--ed-rule)}
.reference-metrics dt{font-size:23px;line-height:1.25;letter-spacing:-.025em;margin-bottom:10px}.reference-metrics dd{font-size:12px;line-height:1.8;color:var(--ed-muted);margin:0}
.reference-teasers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:40px}.reference-teasers>a{display:block;min-width:0}
.reference-teasers .reference-visual{aspect-ratio:1.6;overflow:hidden;background:#e9eee4}.reference-teasers .reference-visual img{height:100%;object-fit:contain;transition:transform .35s}
.reference-teasers>a:hover img{transform:scale(1.02)}.reference-teasers h3{display:flex;justify-content:space-between;gap:18px;align-items:center;font-weight:400;letter-spacing:-.035em;font-size:28px;line-height:1.2;margin:25px 0 12px}
.reference-teasers p{font-size:13px;line-height:1.85;color:var(--ed-muted);margin:0 0 18px}.reference-teasers>a>span{display:inline-block;border-bottom:1px solid #a8b7a0;font-size:12px;padding-bottom:6px}
.reference-overview .body-grid{grid-template-columns:.85fr 1.15fr;gap:9%}.reference-overview .faq-list{border-bottom:1px solid var(--ed-rule)}.reference-overview .faq-list details:last-child{border-bottom:0}
.reference-overview .faq-list summary{font-size:21px;padding:24px 0;line-height:1.4}.reference-overview .faq-list p{font-size:14px;line-height:1.9;margin:0 24px 25px 0}
.reference-schema{margin:0 auto;max-width:1160px}.reference-schema img{display:block;width:100%;max-height:520px;object-fit:contain;background:#e9eee4}
.reference-schema figcaption{font-size:10px;line-height:1.7;color:var(--ed-muted);margin-top:14px}
.reference-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:36px}.reference-gallery figure{margin:0;min-width:0}.reference-gallery figcaption{font-size:12px;color:var(--ed-muted);line-height:1.7;padding:14px 0;border-bottom:1px solid var(--ed-rule)}
.machine-crop{overflow:hidden;aspect-ratio:4/3;background:#e4e9dc;display:flex;align-items:center;justify-content:center}.machine-crop img{display:block;width:100%;height:100%;object-fit:contain}.machine-crop--full{padding:15px}.machine-crop--mast img{object-fit:cover;object-position:63% 15%;transform:scale(1.1)}.machine-crop--track img{object-fit:cover;object-position:50% 100%}
.reference-table{width:100%;margin-top:35px;overflow:auto}.reference-table table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.8;text-align:left}.reference-table caption{text-align:left;font-size:11px;color:var(--ed-muted);margin:0 0 20px}.reference-table th,.reference-table td{padding:20px 20px 20px 0;border-bottom:1px solid var(--ed-rule);font-weight:400;vertical-align:top}.reference-table thead th{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ed-muted);border-top:1px solid var(--ed-rule)}
.reference-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;counter-reset:ref-principle;margin:0}.reference-principles>*{border-top:1px solid var(--ed-rule);padding:26px 0}.reference-principles .num{font-size:11px;color:#607a53}.reference-principles h2,.reference-principles h3{font-size:28px;font-weight:400;letter-spacing:-.035em;line-height:1.2;margin:24px 0 12px}.reference-principles p{font-size:13px;line-height:1.85;color:var(--ed-muted);margin:0}
.reference-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px;margin-top:38px}.reference-projects>article,.reference-projects>div{min-width:0}.reference-projects figure{margin:0;aspect-ratio:1.6;display:flex;align-items:center;justify-content:center;background:#e8eddf;border:1px solid #d1dac7;overflow:hidden}.reference-projects figure svg{width:100%;height:100%;opacity:.75}.reference-projects h3{font-size:22px;font-weight:400;line-height:1.3;letter-spacing:-.025em;margin:20px 0 12px}.reference-projects p{font-size:12px;line-height:1.8;color:var(--ed-muted);margin:0}
.contact-form-title{font-size:28px;font-weight:400;letter-spacing:-.035em;line-height:1.25;margin:0 0 12px}.reference-location .body-copy h3{margin-top:0}.page-kontakt .contact-shell{padding-top:45px}
.reference-teasers>.reference-teaser{padding:35px 0;border-top:1px solid var(--ed-rule);border-bottom:1px solid var(--ed-rule)}.reference-teaser .mini-label{color:#60755a}.reference-teaser h3{font-size:36px;line-height:1.2;margin:25px 0 28px}.reference-teaser>.text-link{border-bottom:1px solid #a8b7a0}
.reference-project-visual{position:relative;aspect-ratio:1.6;overflow:hidden;background:#e5ebdc;color:#789163}.reference-project-visual>span{position:absolute;left:24px;top:22px;font-size:10px;letter-spacing:.1em}.reference-project-visual>svg{display:block;width:100%;height:100%;opacity:.7}
.nav-group{position:relative}.nav-group-row{display:flex;align-items:center;gap:3px}.nav-group-row>button{display:inline-flex;justify-content:center;align-items:center;width:27px;height:36px;flex:none;background:none;border:0;color:#55734a;padding:0}
.nav-group-row>button svg{width:12px;height:12px;transition:transform .2s}.nav-group-row>button[aria-expanded=true] svg{transform:rotate(180deg)}
.nav-submenu{position:absolute;z-index:25;left:-20px;top:100%;width:235px;padding:10px 18px;background:var(--ed-white);border:1px solid var(--ed-rule);box-shadow:0 14px 30px #163b2412}
.site-nav .nav-submenu a{display:block;white-space:normal;font-size:12px;line-height:1.6;padding:12px 2px;border-bottom:1px solid #d8dfd0}.site-nav .nav-submenu a:last-child{border-bottom:0}.site-nav .nav-submenu a::after{display:none}.site-nav .nav-submenu a:hover,.site-nav .nav-submenu a[aria-current=page]{color:#1d5c2e}
.site-nav .nav-contact,.site-nav .nav-contact.current{color:#fff}
.page-directory{border-top:1px solid var(--ed-rule)}.page-directory>a{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border-bottom:1px solid var(--ed-rule);font-size:17px;line-height:1.5;letter-spacing:-.015em}.page-directory>a:hover{color:#5d8149}.reference-project-link{display:block}.reference-detail-link{display:inline-flex;align-items:center;gap:20px;font-size:12px;border-bottom:1px solid #a8b7a0;padding:8px 0;margin-top:6px}
@media(max-width:1100px){.site-nav{gap:21px}.nav-group-row>button{width:22px}.reference-teasers h3{font-size:25px}.reference-gallery{gap:20px}}
@media(max-width:1000px){.site-nav{gap:0}.nav-group-row{justify-content:space-between;border-bottom:1px solid #e1e8dd}.site-nav .nav-group-row>a{border:0;flex:1}.nav-group-row>button{width:44px;height:44px}.nav-group-row>button svg{width:15px;height:15px}.nav-submenu{position:static;box-shadow:none;border:0;border-bottom:1px solid #ced7ca;width:100%;padding:0 0 8px 20px;background:transparent}.site-nav .nav-submenu a{font-size:15px;padding:13px 0}.reference-metrics dt{font-size:21px}}
@media(max-width:760px){.reference-pagehead{padding-bottom:32px}.reference-pagehead+.reference-intro{padding-top:25px}.reference-split,.reference-overview .body-grid{grid-template-columns:1fr;gap:28px}.reference-split h2{margin-top:15px}.reference-visual img{max-height:380px;object-fit:contain}.reference-metrics{grid-template-columns:1fr;margin-top:30px}.reference-metrics>div,.reference-metrics>div:first-child{padding:20px 0}.reference-metrics>div+div{border-left:0;border-top:1px solid var(--ed-rule)}.reference-metrics dt{font-size:22px;margin-bottom:7px}.reference-metrics dd{font-size:13px}.reference-teasers{grid-template-columns:1fr;gap:35px;margin-top:30px}.reference-teasers h3{font-size:25px;margin-top:20px}.reference-overview .faq-list summary{font-size:18px;padding:23px 0}.reference-overview .faq-list p{font-size:14px}.reference-gallery{grid-template-columns:1fr;gap:25px;margin-top:28px}.machine-crop{aspect-ratio:4/3}.reference-gallery figcaption{font-size:12px}.reference-table table{font-size:13px}.reference-table th,.reference-table td{padding:17px 12px 17px 0}.reference-table caption{font-size:11px}.reference-principles{grid-template-columns:1fr;gap:5px}.reference-principles h2,.reference-principles h3{font-size:27px;margin-top:18px}.reference-principles p{font-size:14px}.reference-projects{grid-template-columns:1fr;gap:30px;margin-top:28px}.reference-projects h3{font-size:22px}.reference-schema figcaption{font-size:10px}.contact-form-title{font-size:27px}.page-kontakt .contact-shell{padding-top:25px}.nav-submenu{padding-left:15px}}
@media(prefers-reduced-motion:reduce){.reference-teasers img,.nav-group-row>button svg{transition:none}}
