/* Shared reading layout. Brand colours, photos and animation timing stay intact. */
:root{--reading-width:1120px;--reading-gap:32px;--reading-radius:14px;--reading-line:#ffffff26;--reading-panel:#252525ed;}
.layout-page main,.specific-product{box-sizing:border-box;width:min(var(--reading-width),calc(100% - 64px));max-width:var(--reading-width);margin:0 auto;padding:0 0 32px;text-align:left;}
.layout-page main *, .specific-product *{box-sizing:border-box;min-width:0;}
.layout-page .page-heading,.specific-product>header{display:block;width:100%;max-width:none;min-height:0;margin:0;padding:36px 0 28px!important;text-align:left;}
.layout-page .page-heading h1,.specific-product h1{font-size:clamp(34px,4.4vw,56px);line-height:1.15;letter-spacing:-.035em;text-align:left;justify-content:flex-start;margin:16px 0;}
.layout-page .page-heading p,.specific-product>header p{max-width:68ch;margin:12px 0;text-align:left;font-size:16px;line-height:1.7;}
.layout-page .page-heading .back-link,.specific-back{display:inline-flex;min-height:44px;align-items:center;margin:0 0 12px;font-size:14px;}
.layout-page main h2,.specific-product h2{font-size:clamp(24px,2.7vw,32px);font-weight:400;line-height:1.3;letter-spacing:-.025em;text-align:left;margin:0 0 16px;}
.layout-page main h3,.specific-product h3{font-size:21px;font-weight:500;line-height:1.4;margin:24px 0 12px;}
.layout-page main p,.specific-product p{font-size:16px;line-height:1.7;text-align:left;}
.layout-page main p+p,.specific-product p+p{margin-top:14px;}
.layout-page main :is(h2,summary)::before,.specific-product :is(h2,summary)::before{background:#ed1c24!important;mask:url('/brand/arrow-original.svg') center/contain no-repeat!important;-webkit-mask:url('/brand/arrow-original.svg') center/contain no-repeat!important;}
.layout-page main :is(h2,summary),.specific-product :is(h2,summary){position:relative;padding-left:38px;}
.layout-page main :is(h2,summary)::before,.specific-product :is(h2,summary)::before{content:'';position:absolute;left:0;top:.12em;width:25px;height:29px;margin:0;transform:none;}
.layout-page main section,.layout-page main article{scroll-margin-top:24px;}
.layout-page main>footer{width:100%;margin:40px 0 0;padding:24px 0 0;border-top:1px solid var(--reading-line);gap:24px;align-items:start;text-align:left;}
.layout-page main>footer p{font-size:14px;margin:0;}
.layout-page .preview-return{display:flex!important;width:fit-content;margin:0 auto 28px max(32px,calc((100% - var(--reading-width))/2));}
.layout-page .preview-sections,.preview-sections{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;min-height:80px;padding:14px 24px;font-size:14px;}
.layout-page .preview-home,.preview-home{display:flex;align-items:center;flex-shrink:0;}
.layout-page .preview-home img,.preview-home img{width:110px;height:20px;max-width:none;}
.preview-sections{position:relative;z-index:2;}
.layout-page .preview-sections a,.preview-sections a{min-height:44px;}
.layout-page .product-section-links,.specific-product .product-section-links{margin:20px 0 0;justify-content:flex-start;}
.layout-page .product-key-facts,.specific-product .product-key-facts{margin:20px 0;justify-content:flex-start;gap:10px;}
.layout-page .product-key-facts>div,.specific-product .product-key-facts>div{padding:12px 16px;border-radius:10px;}
.layout-page .product-inquiry,.layout-page .accessory-inquiry,.specific-product>.chapter-link{text-decoration:none;min-height:46px;font-size:15px;}

/* Product profiles: one data column, one media column, then full-width details. */
.layout-page .product-overview,.specific-overview:has(.overview-data){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:var(--reading-gap);align-items:start;margin:0 0 32px;}
.layout-page .product-overview-info,.specific-overview .overview-data{padding:24px;border:1px solid var(--reading-line);border-radius:var(--reading-radius);background:var(--reading-panel);}
.layout-page .product-overview .folder-data,.specific-overview .folder-data{padding:0;margin:0;border:0;}
.layout-page .product-overview .folder-data h2,.specific-overview .folder-data h2{font-size:26px;}
.layout-page .folder-data table,.specific-product table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px;line-height:1.6;}
.layout-page .folder-data th,.layout-page .folder-data td,.specific-product th,.specific-product td{padding:11px 0;border-bottom:1px solid var(--reading-line);text-align:left;vertical-align:top;overflow-wrap:break-word;}
.layout-page .folder-data th,.specific-product th{width:40%;padding-right:20px;font-weight:500;}
.layout-page .product-overview .folder-data th,.layout-page .product-overview .folder-data td{padding:11px 0;}
.layout-page .product-overview .folder-data th{padding-right:20px;}
.layout-page .product-overview>.system-product-photo{width:100%;max-width:none;margin:0;padding:0;align-self:start;display:block;}
.layout-page .product-overview .system-product-photo-frame{height:auto;aspect-ratio:auto;width:100%;margin:0;background:none;border-radius:var(--reading-radius);}
.layout-page .product-overview .system-product-photo-frame>img{position:static;width:100%;height:auto;max-height:580px;object-fit:contain;object-position:right top;transform:none;border-radius:var(--reading-radius);}
.layout-page .product-overview figcaption{font-size:14px;margin:10px 0 0;text-align:left;}
.layout-page .full-folder,.specific-product .full-folder{display:block;width:100%;max-width:none;margin:0 0 32px;padding:0;border:0;background:none;}
.layout-page .full-folder details,.specific-product .full-folder details{margin:0;padding:0;border:0;border-bottom:1px solid var(--reading-line);}
.layout-page .full-folder summary,.specific-product .full-folder summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:60px;padding:17px 0 17px 38px;font-size:18px;line-height:1.45;list-style:none;text-align:left;cursor:pointer;}
.layout-page .full-folder summary::before{top:18px;}
.layout-page .full-folder summary::-webkit-details-marker,.specific-product summary::-webkit-details-marker{display:none;}
.layout-page .full-folder details p,.specific-product .full-folder details p{max-width:78ch;margin:0;padding:0 0 20px 38px;font-size:15px;line-height:1.75;}
.layout-page .full-folder article{margin:0;padding:0;border:0;}
.layout-page .full-folder article .eyebrow{padding-left:38px;}
.layout-page .full-folder article h2{font-size:23px;margin:0 0 14px;}
.layout-page .product-downloads,.layout-page .model-inquiry-end,.layout-page .service-inquiry{width:100%;max-width:none;margin:32px 0 0;padding:24px 0;border:0;border-top:1px solid var(--reading-line);background:none;border-radius:0;}
.layout-page .model-inquiry-end p{max-width:68ch;margin:0;}
.layout-page .sh-packaging-photo{width:min(100%,620px);margin:0 0 32px;padding:0;border:0;background:none;}
.layout-page .hd-description,.layout-page .hub-material-description,.layout-page .fh-description-summary{display:block;width:100%;max-width:none;margin:32px 0;padding:24px 0;border:0;border-top:1px solid var(--reading-line);}
.layout-page .hd-description article,.layout-page .hub-material-description article{padding:0;max-width:78ch;margin:0 0 24px;}
.layout-page .fh-description-summary p{max-width:78ch;}
.layout-page .hub-secondary-product{margin:32px 0;max-width:none;}
.layout-page .secondary-product-figure{width:min(100%,620px);margin:0;background:none;}
.layout-page .hub-detail-pair{display:block;width:100%;margin:0;padding:0;}
.layout-page .hub-detail-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:center;padding:28px 0;border-top:1px solid var(--reading-line);}
.layout-page .hub-detail-row figure{width:100%;max-width:none;margin:0;}
.layout-page .hub-detail-row p{max-width:68ch;}
.layout-page .hub-detail-row .hub-rear-detail{height:auto;}
.layout-page .hub-detail-row .hub-flow-illustration{width:100%;height:auto;}

/* Services: repeat the same text/media relationship without empty boxed rows. */
.layout-page.service-reading-page .development-copy,.layout-page.service-reading-page .development-content,.layout-page.service-reading-page .service-detail>div:not(:has(video)){background:none;box-shadow:none;border-radius:0;}
.layout-page.service-reading-page .development-copy{max-width:none;width:100%;padding:24px 0;margin:0 0 24px;border:0;border-top:1px solid var(--reading-line);}
.layout-page.service-reading-page .development-copy p{max-width:78ch;}
.layout-page .service-media-row,.layout-page .fabrication-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:center;width:100%;max-width:none;margin:0;padding:28px 0;border:0;border-top:1px solid var(--reading-line);border-radius:0;background:none;}
.layout-page .service-media-row>section,.layout-page .service-media-row .service-detail{display:block;width:100%;margin:0;padding:0;border:0;}
.layout-page.service-reading-page .service-media-row>.development-copy{padding:0;margin:0;border:0;}
.layout-page .service-media-row .service-detail>div{padding:0!important;}
.layout-page .service-media-row figure,.layout-page .fabrication-row figure{display:flex;justify-content:flex-end;align-items:center;width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:auto;overflow:visible;margin:0;padding:0;background:none;border:0;box-shadow:none;}
.layout-page .service-media-row figure img{width:100%;height:320px;max-height:none;object-fit:cover;object-position:center;border-radius:var(--reading-radius);}
.layout-page .fabrication-row figure video,.layout-page .service-media-row figure video{display:block;width:auto;max-width:100%;height:320px;max-height:320px;aspect-ratio:auto;object-fit:contain;margin:0;border-radius:var(--reading-radius);}
.layout-page .fabrication-row p{max-width:60ch;}

/* Category cards are a separate, repeatable pattern, not alternating editorial blocks. */
.layout-page .category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 32px;padding:0;}
.layout-page main .category-grid .category-tile{min-height:260px;height:auto;border-radius:var(--reading-radius);overflow:hidden;}
.layout-page main .category-grid .category-copy{padding:28px;text-align:left;}
.layout-page main .category-grid .category-copy h2{font-size:28px;line-height:1.3;margin:0 0 18px;}
.layout-page main .category-grid .category-copy p{font-size:15px;max-width:45ch;}
.layout-page .accessory-detail,.layout-page .accessory-cover{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:start;margin:0 0 32px;padding:0;}
.layout-page .accessory-detail .accessory-specifications{grid-column:1;grid-row:1;}
.layout-page .accessory-detail .accessory-illustration{grid-column:2;grid-row:1;margin:0;border:0;background:none;border-radius:var(--reading-radius);}
.layout-page .accessory-cover{background:none;border:0;border-radius:0;}
.layout-page .accessory-cover figure{width:100%;max-width:none;margin:0;display:flex;justify-content:flex-end;}
.layout-page .accessory-cover figure img{width:auto;max-width:100%;height:auto;max-height:440px;object-fit:contain;}
.layout-page .accessory-detail .folder-data{padding:0;margin:24px 0;}

/* Legal documents use the same type scale and a readable, single-column measure. */
.layout-page.legal-page main{max-width:880px;padding-top:32px;}
.layout-page.legal-page main h1{font-size:clamp(32px,4.4vw,52px);line-height:1.2;margin:16px 0 28px;overflow-wrap:anywhere;}
.layout-page.legal-page main>section{max-width:none;padding:24px 0;margin:0;border:0;border-top:1px solid var(--reading-line);background:none;}
.layout-page.legal-page main h2{font-size:24px;}
.layout-page.legal-page main :is(p,li){font-size:16px;line-height:1.75;overflow-wrap:anywhere;}

/* React product profiles, including OB and Custom Made. */
.specific-product{padding-top:28px;}
.specific-product>header{padding:0 0 24px!important;}
.specific-product .specific-overview{margin:28px 0;}
.specific-product .specific-model{width:100%;height:520px;min-height:0;max-height:none;}
.specific-product .custom-original-copy{max-width:none;width:100%;margin:32px 0 0;text-align:left;}
.specific-product .custom-media-row{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;margin:32px 0;padding:28px 0;border-top:1px solid var(--reading-line);}
.specific-product .custom-media-row .custom-original-copy{margin:0;}
.specific-product .custom-film{width:min(100%,320px);margin:0 0 0 auto;}
.specific-product .custom-film video{max-height:480px;object-fit:contain;}
.specific-product .custom-gallery{margin:32px 0;}
.specific-product .custom-gallery h2{text-align:left;}
.specific-product .custom-gallery>div{gap:32px;grid-template-columns:.65fr 1.35fr;}
.specific-product .custom-gallery a{height:400px;display:block;overflow:hidden;border-radius:14px;}
.specific-product .custom-gallery a>img{width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:auto;}
.specific-product .product-original-copy>section{margin:28px 0;padding:24px 0;}
.specific-product .overview-data>section{margin:0;padding:0;}
.specific-product .overview-data .eyebrow{display:none;}
.specific-product>.chapter-link{margin:0 20px 24px 0;}
.specific-product .legal-links{justify-content:flex-start;border-top:1px solid var(--reading-line);margin-top:32px;}

/* Homepage reading sections keep their drawn watermarks and one shared alignment. */
#bereiche,#kontakt{padding:64px max(32px,calc((100% - 1120px)/2));}
#bereiche .section-intro{display:block;margin:0 0 32px;max-width:760px;}
#bereiche .section-intro .eyebrow{margin-bottom:16px;}
#bereiche .section-intro h2{font-size:clamp(34px,4.4vw,56px);line-height:1.15;margin:0 0 18px;}
#bereiche .section-intro h2 br{display:none;}
#bereiche .section-intro h2 em::before{content:' ';white-space:pre;}
#bereiche .section-intro p{padding:0;font-size:16px;line-height:1.7;}
#bereiche .department-grid{gap:24px;}
#bereiche .department-card{padding:28px;min-height:270px;border-radius:14px;}
#bereiche .department-card h3{font-size:28px;min-height:0;line-height:1.3;margin:20px 0 16px;display:flex;align-items:center;gap:14px;}
#bereiche .department-card h3 img{width:28px;height:32px;flex:none;margin:0;}
#bereiche .department-card p{font-size:15px;line-height:1.7;}
#kontakt>a{justify-content:flex-start;gap:16px;font-size:clamp(20px,3vw,30px);overflow-wrap:anywhere;}
#kontakt>a img{width:28px;height:32px;flex:none;}
#kontakt p{margin-top:20px;font-size:14px;}

@media(max-width:700px){
 .layout-page main,.specific-product{width:calc(100% - 36px);padding-bottom:24px;}
 .layout-page .page-heading,.specific-product>header{padding:24px 0!important;}
 .layout-page .page-heading h1,.specific-product h1{font-size:34px;overflow-wrap:break-word;}
 .layout-page main h2,.specific-product h2{font-size:25px;}
 .layout-page main p,.specific-product p,.layout-page .page-heading p{font-size:15px;}
 .layout-page .preview-sections,.preview-sections{padding:12px 18px;gap:2px 12px;font-size:13px;}
 .layout-page .preview-home,.preview-home{flex-basis:100%;margin:0;justify-content:center;}
 .layout-page .product-overview,.specific-overview:has(.overview-data),.layout-page .service-media-row,.layout-page .fabrication-row,.layout-page .hub-detail-row,.layout-page .accessory-detail,.layout-page .accessory-cover,.specific-product .custom-media-row{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;}
 .layout-page .product-overview-info,.specific-overview .overview-data{padding:18px;}
 .layout-page .product-overview>.system-product-photo{order:0;}
 .layout-page .product-overview .system-product-photo-frame>img{max-height:420px;object-position:left top;}
 .layout-page .product-overview .system-product-photo-frame{width:min(100%,315px);}
 .layout-page .service-media-row figure,.layout-page .fabrication-row figure{justify-content:flex-start;}
 .layout-page .service-media-row figure img{height:270px;}
 .layout-page .fabrication-row figure video,.layout-page .service-media-row figure video{height:auto;max-height:320px;max-width:100%;}
 .layout-page .category-grid{grid-template-columns:minmax(0,1fr);gap:18px;}
 .layout-page main .category-grid .category-copy{padding:24px;}
 .layout-page main .category-grid .category-copy h2{font-size:25px;}
 .layout-page .accessory-detail .accessory-specifications,.layout-page .accessory-detail .accessory-illustration{grid-column:auto;grid-row:auto;}
 .layout-page .accessory-detail .accessory-illustration{order:1;}
 .layout-page .accessory-cover figure{justify-content:flex-start;}
 .layout-page main>footer{display:flex;flex-direction:column;gap:20px;}
 .layout-page .preview-return{margin-left:18px;}
 .layout-page .full-folder summary,.specific-product .full-folder summary{font-size:17px;}
 .layout-page .full-folder details p,.specific-product .full-folder details p{padding-left:0;}
 .specific-product .specific-model{order:0;height:360px;}
 .specific-product .custom-film{margin:0;width:min(100%,280px);}
 .specific-product .custom-gallery>div{grid-template-columns:1fr;gap:24px;}
 .specific-product .custom-gallery a{height:320px;}
 .specific-product .custom-gallery .finish a{height:auto;aspect-ratio:4/3;}
 .specific-product .custom-gallery a>img{height:100%;width:100%;max-width:100%;}
 .layout-page .folder-data table,.specific-product table,.layout-page .folder-data tbody,.specific-product tbody{display:block;}
 .layout-page .folder-data tr,.specific-product tr{display:grid;grid-template-columns:1fr;gap:5px;padding:12px 0;border-bottom:1px solid var(--reading-line);}
 .layout-page .folder-data th,.layout-page .folder-data td,.layout-page .product-overview .folder-data th,.layout-page .product-overview .folder-data td,.specific-product th,.specific-product td{display:block;width:auto;padding:0;border:0;}
 .layout-page .folder-data th,.specific-product th{font-size:13px;color:#c3c3c3;}
 #bereiche,#kontakt{padding:40px 18px;}
 #bereiche .department-card{padding:24px;min-height:240px;}
 #bereiche .department-card h3{font-size:25px;}
 #bereiche .section-intro p{font-size:15px;}
}

/* Override the older SH-only panels so all product sections share the same rhythm. */
.layout-page main.sh-product-page :is(.full-folder,.product-downloads,.model-inquiry-end){padding:24px 0;margin:0 0 28px;background:none;border:0;border-top:1px solid var(--reading-line);border-radius:0;}
.specific-product .full-folder summary::before{top:18px;}
.specific-product .product-original-copy section>p{font-size:16px;line-height:1.7;}

/* Keep the testing film at its original ratio and use the whole media column. */
.layout-page .service-media-row .development-test-video video{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;}

/* Section labels use the same red brand arrow as the headings, never a bar. */
.layout-page main .eyebrow,.specific-product .eyebrow,.fh-function-heading .fh-kicker{
 position:relative;padding-left:34px;
}
.layout-page main .eyebrow::before,.specific-product .eyebrow::before,.fh-function-heading .fh-kicker::before{
 content:'';display:block;position:absolute;left:0;top:0;
 width:23px;height:1.6em;min-height:20px;margin:0;transform:none;
 background:#ed1c24;
 mask:url('/brand/arrow-original.svg') center/contain no-repeat;
 -webkit-mask:url('/brand/arrow-original.svg') center/contain no-repeat;
}
.service-direct-inquiry{display:inline-flex;align-items:center;gap:12px;margin-top:16px;padding:12px 18px!important;border:1px solid #ed1c24!important;border-radius:10px;background:#292929;color:#fff!important;text-decoration:none;line-height:1.4;}
.service-direct-inquiry::before{content:'';width:21px;height:24px;flex:none;background:#ed1c24;mask:url('/brand/arrow-original.svg') center/contain no-repeat;}
.service-direct-inquiry:hover{background:#393939;}
.layout-page .preview-sections,.specific-product~.preview-sections{position:sticky;top:0;z-index:30;background:#252525f5;backdrop-filter:blur(10px);}
.detail-menu-toggle{display:none;}
.quick-content-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid #ffffff40;border-radius:10px;font-size:14px;color:#fff;}
.header>.quick-content-link{position:absolute;right:20px;top:18px;}
.header{background:#252525f5;}
.layout-page main section,.layout-page main article{scroll-margin-top:100px;}
@media(min-width:701px) and (max-width:1250px){.header>.quick-content-link{top:12px;}.header nav{padding-right:0;}}
@media(max-width:700px){
 .header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 16px;}
 .header .wordmark{margin:0 auto 0 0;gap:0;}.header .wordmark>span:last-child{display:none;}.header .wordmark .brand-wordmark{display:inline-block;width:105px;}
 .header>.quick-content-link{position:static;font-size:13px;padding:9px 12px;}
 .header .menu-toggle,.detail-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;font:inherit;font-size:13px;color:#fff;background:transparent;border:1px solid #ffffff40;border-radius:10px;gap:8px;}
 .header nav{display:none;}.header nav.open{display:flex;width:100%;gap:6px;margin-top:6px;}.header nav a{min-height:44px;}
 .layout-page .preview-sections,.preview-sections{gap:8px;min-height:64px;padding:10px 16px;}
 .layout-page .preview-sections .preview-home,.preview-sections .preview-home{width:auto;flex:0 0 auto;margin-right:auto;}.preview-sections .preview-home img{width:105px;height:auto;}
 .preview-sections .nav-destination{display:none;}.preview-sections.menu-open .nav-destination{display:flex;order:2;flex:1 1 40%;justify-content:center;border:1px solid #ffffff30;border-radius:10px;padding:10px;}
 .preview-sections .quick-content-link{font-size:13px;}
 .layout-page main section,.layout-page main article{scroll-margin-top:80px;}
 .service-direct-inquiry{max-width:100%;}
 .contact>a{gap:12px;max-width:100%;font-size:clamp(18px,5vw,24px);overflow-wrap:anywhere;}
}

/* Keep watermark framing stable while mobile browser bars expand/collapse. */
@supports (height:100lvh){
 main:has(:is(.development-photo-heading,.sh-photo-heading,.custom-photo-heading,.accessory-photo-heading,.fabrication-photo-heading,.sport-photo-heading,.suppressor-overview-heading))::before,
 .service-reading-page main::after,.custom-product::before{
  position:fixed;top:0;bottom:auto;height:100lvh;
 }
 .custom-product::before{width:75lvh;}
}
