
/* 2026 design refinement | J&M Projekt GmbH */
:root { --jm-blue:#164b86; --jm-deep:#173759; --jm-ink:#182c46; --jm-muted:#5d6d80; --jm-border:#dde7f2; --jm-soft:#f5f9fd; }
html {scroll-padding-top:130px}
body { font-size:15px;line-height:1.66; overflow-wrap:break-word; }
main {min-height:50vh}
main h1,main h2,main h3 {text-wrap:balance;overflow-wrap:normal;hyphens:auto}
main p {max-width:76ch}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #6b9fec;outline-offset:3px}
.brand,.brand img,.logo img {background:transparent!important}
.brand img,.logo img {width:150px;height:auto;max-width:none;object-fit:contain;padding:0;box-shadow:none}
.nav {align-items:center}
.nav a {line-height:1.35}
.section-head .eyebrow,.section-intro .eyebrow{margin-bottom:1.15rem}
.section-head h2 {margin-top:0}
.footer-box {padding:1.6rem}
.footer a:hover {text-decoration:underline}
.footer button.privacy-open{background:transparent;border:0;color:#dbeafe;font:inherit;text-align:left;cursor:pointer;margin:.65rem 0 0;padding:0}
.footer button.privacy-open:hover{text-decoration:underline}
/* Homepage */
.home-pillars{padding:4.3rem 0 5rem!important}
.home-pillars .section-head {margin-bottom:2rem;align-items:flex-end;gap:2rem}
.home-pillars .section-head > div {max-width:830px}
.home-pillars .section-head h2{font-size:clamp(1.7rem,2.8vw,2.55rem);line-height:1.2;letter-spacing:-.026em;max-width:690px}
.home-pillars .section-copy {margin:.9rem 0 0;color:var(--jm-muted);max-width:690px;font-size:1.04rem}
.home-services{gap:1.3rem}
.home-service {display:flex;flex-direction:column;padding:1.7rem;min-height:320px;border-radius:24px;box-shadow:0 16px 40px rgba(18,50,83,.055)!important;transition:transform .22s,box-shadow .22s}
.home-service:hover{transform:translateY(-3px);box-shadow:0 22px 46px rgba(18,50,83,.105)!important}
.service-symbol,.service-icon{display:grid;place-items:center;color:#19548e;background:#eaf3fc;border:1px solid #d6e5f5;border-radius:16px;flex:0 0 auto}
.service-symbol{height:55px;width:55px;margin-bottom:.9rem}
.line-icon{width:24px;height:24px;display:block;flex:0 0 auto}
.home-service .icon {display:none}
.home-service h3{margin:.4rem 0 .65rem;font-size:1.26rem;color:#17395f}
.home-service p{line-height:1.72}
.quiet-link{display:inline-flex;gap:.5rem;align-items:center;width:fit-content;margin-top:auto;padding-top:1.25rem;text-decoration:none;color:#1c518d;font-size:.93rem;font-weight:700}
.quiet-link:hover{text-decoration:underline}
.arrow-mini {width:17px;height:17px}
.button-icon{width:17px;height:17px;display:inline-block}
/* Shared editorial headings */
.services-intro{padding:3rem 0 2.5rem}
.services-hero-grid {display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:2.3rem;align-items:center}
.services-hero-copy{padding:1rem .4rem 1rem 0}
.services-hero-copy h1 {font-size:clamp(2rem,3.55vw,3rem);letter-spacing:-.035em;line-height:1.12;max-width:700px;margin:.95rem 0 1.15rem}
.services-hero-copy .lead{font-size:1.075rem;line-height:1.8;max-width:650px}
.services-hero-visual{position:relative;border-radius:26px;overflow:hidden;min-height:360px;box-shadow:0 20px 50px rgba(19,58,100,.13);border:1px solid #dfe7f1;background:#e8f0f8}
.services-hero-visual img{width:100%;height:420px;object-fit:cover;object-position:59% center}
.services-image-caption{position:absolute;bottom:0;left:0;right:0;padding:3.5rem 1.6rem 1.5rem;background:linear-gradient(180deg, transparent,rgba(12,34,58,.86));color:#fff;display:grid;gap:.15rem}
.services-image-caption strong{font-size:1.25rem;line-height:1.3}
.services-image-caption span:last-child{font-size:.91rem;color:#e4edf9}
.caption-overline{font-size:.75rem;color:#cbdff7;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.services-section{padding:3rem 0 4.2rem}
.section-intro{max-width:800px;margin:0 0 2rem}
.section-intro h2{font-size:clamp(1.7rem,2.8vw,2.5rem);margin:0 0 .75rem;line-height:1.18;letter-spacing:-.024em}
.section-intro p{color:var(--jm-muted);font-size:1.03rem;margin:0;line-height:1.8}
.service-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.service-detail{display:flex;flex-direction:column;min-width:0;min-height:332px;padding:1.8rem;border:1px solid var(--jm-border);border-radius:24px;background:#fff;box-shadow:0 16px 40px rgba(23,60,97,.055);transition:transform .2s,border-color .2s,box-shadow .2s}
.service-detail:hover{transform:translateY(-2px);border-color:#b8d4ec;box-shadow:0 22px 50px rgba(23,60,97,.10)}
.service-detail-featured{background:linear-gradient(143deg,#fff 0%,#f3f8fe 100%)}
.service-detail-top{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem}
.service-icon{width:57px;height:57px}
.service-category{font-size:.77rem;letter-spacing:.08em;color:#5e7693;text-transform:uppercase;font-weight:800;text-align:right}
.service-detail h3{margin:0 0 .8rem;color:#183c62;font-size:1.34rem;letter-spacing:-.015em;line-height:1.32}
.service-detail p{margin:0 0 1.5rem;color:#56667a;line-height:1.85;font-size:1rem}
.service-detail-footer{margin-top:auto;padding-top:1rem;border-top:1px solid #e2eaf3;font-size:.8rem;letter-spacing:.01em;color:#4e6582;font-weight:650;line-height:1.8}
.service-detail-footer span{margin:0 .5rem;color:#9fb2ca}
.services-outro{padding:0 0 3.7rem}
.service-close{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:2.1rem 2.3rem;background:linear-gradient(120deg,#f0f6fd,#fff);border-radius:26px;border:1px solid #d7e7f4;box-shadow:0 14px 32px rgba(22,56,92,.05)}
.service-close h2{font-size:clamp(1.45rem,2.2vw,2rem);max-width:720px;margin:0 0 .55rem;line-height:1.22}
.service-close p{margin:0;color:var(--jm-muted)}
.service-close .btn{flex:0 0 auto}
/* Offer and development preview templates */
/* Built-in future publication sections: change main[data-status] from preview to live after approval, then fill the empty grid. */
.preview-page[data-status="preview"] .publication-content{display:none!important}
.preview-page[data-status="live"] .preview-hero,.preview-page[data-status="live"] .preview-body{display:none!important}
.publication-content{padding:3rem 0 5rem}
.publication-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
@media(max-width:980px){.publication-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.publication-grid{grid-template-columns:1fr}}
.preview-hero{padding:3.2rem 0 2rem}
.preview-hero-copy{position:relative;padding:2.8rem 3rem;border:1px solid #dbe5ef;background:linear-gradient(114deg,#fff 0%,#f2f7fd 100%);border-radius:28px;box-shadow:0 12px 34px rgba(20,59,97,.06);overflow:hidden}
.preview-hero-copy::after{content:"";position:absolute;width:280px;height:280px;right:-90px;top:-110px;border:1px solid rgba(30,85,151,.07);box-shadow:0 0 0 40px rgba(40,98,167,.025),0 0 0 85px rgba(40,98,167,.02);border-radius:50%;pointer-events:none}
.preview-hero-copy h1{font-size:clamp(1.95rem,3.25vw,2.9rem);letter-spacing:-.032em;line-height:1.16;max-width:810px;margin:.85rem 0 1.05rem}
.preview-hero-copy .lead{font-size:1.06rem;line-height:1.82;max-width:850px}
.preview-chips{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.3rem}
.preview-chips span{display:inline-flex;align-items:center;gap:.55rem;background:#fff;border:1px solid #dae7f5;padding:.53rem .9rem;border-radius:999px;color:#315b89;font-weight:650;font-size:.87rem}
.preview-chips .line-icon{width:17px;height:17px}
.preview-body{padding:1.4rem 0 4.1rem}
.preview-grid{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(300px,.76fr);gap:1.3rem;align-items:stretch}
.preview-stage,.preview-aside{border:1px solid #dae5f1;border-radius:26px;background:#fff;box-shadow:0 16px 42px rgba(23,56,95,.055)}
.preview-stage{position:relative;overflow:hidden;padding:2.3rem}
.stage-illustration{position:absolute;right:2.2rem;top:2.5rem;width:140px;height:140px;display:grid;place-items:center;background:#f0f6fc;border:1px solid #dceaf5;border-radius:28px;opacity:.84}
.stage-icon{width:72px;height:72px;color:#a2c0e1;stroke-width:1.05}
.stage-drawing-line{position:absolute;height:1px;background:#d0e0f0;left:24px;right:24px}
.stage-drawing-line.one{bottom:26px}.stage-drawing-line.two{bottom:37px;right:48px}.stage-drawing-line.three{bottom:48px;left:50px}
.preview-status{display:inline-flex;gap:.55rem;align-items:center;padding:.48rem .8rem;background:#edf5ff;border-radius:999px;color:#255991;font-weight:700;font-size:.86rem}
.status-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#417cc1;box-shadow:0 0 0 4px rgba(65,124,193,.1)}
.preview-stage h2{margin:3.4rem 0 1rem;font-size:clamp(1.6rem,2.6vw,2.25rem);max-width:560px;letter-spacing:-.02em;line-height:1.19;color:#183c62}
.preview-stage p{font-size:1.025rem;line-height:1.84;color:#54667c;max-width:670px;margin:.7rem 0}
.preview-stage .btn{margin-top:1.25rem}
.preview-aside{display:flex;flex-direction:column;padding:2rem;background:linear-gradient(180deg,#f8fbff,#fff)}
.preview-aside h3{font-size:1.5rem;line-height:1.26;color:#173c65;letter-spacing:-.02em;margin:.2rem 0 1rem}
.preview-aside p{margin:0 0 1.4rem;color:var(--jm-muted);line-height:1.75}
.preview-list{display:grid;gap:.85rem}
.preview-list>div{display:flex;align-items:flex-start;gap:.9rem;padding:.86rem;border:1px solid #e1eaf3;background:#fff;border-radius:15px;color:#37516c;font-size:.94rem;line-height:1.45}
.preview-list .line-icon{width:20px;height:20px;color:#4479b6}
.preview-aside-bottom{border-top:1px solid #dfe9f3;margin-top:auto;padding-top:1rem;margin-bottom:.1rem;color:#7d8ba0;font-size:.86rem;line-height:1.6}
/* About company & management */
.hero-side::before{display:none!important}
.hero-side{overflow:hidden;border:1px solid #d6e4f2!important;box-shadow:0 10px 32px rgba(15,65,117,.055)!important;background:linear-gradient(145deg,#fff,#f5f9fe)!important}
.hero-side-label{padding-left:13px;position:relative}
.hero-side-label::before{content:"";position:absolute;left:0;width:4px;height:16px;background:#2c69aa;border-radius:4px}
.hero-side .hero-point{box-shadow:none;background:rgba(255,255,255,.7)}
.executive-card{background:linear-gradient(160deg,#fbfdff,#f5f9ff);}
.executive-card h3{font-size:1.35rem;margin:0 0 .6rem;color:#183c64}
.executive-card>p{margin-bottom:1.2rem}
.executive-list{display:grid;gap:.9rem}
.executive-profile{display:grid;grid-template-columns:46px minmax(0,1fr);gap:.9rem;align-items:start;padding:1.1rem;border-radius:18px;background:#fff;border:1px solid #dee9f4;box-shadow:0 6px 18px rgba(20,64,110,.035)}
.executive-monogram{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#e8f1fb;color:#22578f;font-weight:800;font-size:.83rem;letter-spacing:.01em}
.executive-body strong{display:block;color:#17395f;font-size:1.06rem;line-height:1.35}
.executive-role{display:block;color:#2c6a9f;font-size:.79rem;font-weight:700;margin:.25rem 0 .65rem;line-height:1.5}
.executive-body p{margin:0;color:#617185;font-size:.93rem;line-height:1.62}
.about-values .value-card{padding:1.6rem}
.about-values .icon {display:none}
.about-values .service-symbol{width:52px;height:52px;margin-bottom:1.1rem}
.about-values h3{margin:.4rem 0 .55rem}
/* Native contact select harmonization and custom dropdown */
.interest-select{position:relative;max-width:100%}
.interest-select>select{display:none!important}
.interest-trigger{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-radius:16px;padding:.9rem 1rem;border:1px solid #d6e1ee;background:#fbfdff;color:#213954;font:inherit;font-weight:550;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.interest-trigger[aria-expanded="true"]{border-color:#88b6e9;box-shadow:0 0 0 4px rgba(45,111,210,.09);background:#fff}
.interest-chevron{width:19px;height:19px;flex:0 0 auto;transition:transform .2s;color:#4072a8}
.interest-trigger[aria-expanded="true"] .interest-chevron{transform:rotate(180deg)}
.interest-options{position:absolute;z-index:20;top:calc(100% + 7px);left:0;right:0;max-height:min(345px,55vh);overflow-y:auto;border:1px solid #d7e4f0;border-radius:18px;background:#fff;box-shadow:0 24px 46px rgba(20,55,95,.17);padding:.45rem}
.interest-options[hidden]{display:none}
.interest-option{display:block;width:100%;border:0;border-radius:12px;background:transparent;color:#314965;text-align:left;padding:.83rem .9rem;cursor:pointer;font:inherit;line-height:1.35}
.interest-option:hover,.interest-option:focus-visible,.interest-option[aria-selected="true"]{background:#edf5fe;color:#164c89}
/* Elegant all-page consent manager */
.privacy-banner[hidden],.privacy-modal-backdrop[hidden]{display:none!important}
.privacy-banner{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);width:min(690px,calc(100% - 1.5rem));z-index:9999;max-height:calc(100dvh - 28px);overflow-y:auto;background:rgba(255,255,255,.985);border:1px solid #d8e5f2;border-radius:23px;box-shadow:0 24px 75px rgba(15,33,60,.23);padding:1.3rem 1.5rem 1.05rem;color:#192d46;line-height:1.58}
.privacy-banner-inner{display:flex;align-items:flex-start;gap:1rem}
.privacy-symbol{display:grid;place-items:center;flex:0 0 auto;width:45px;height:45px;border-radius:14px;background:#eaf2fd;color:#18528e}
.privacy-symbol svg{width:23px;height:23px}
.privacy-copy strong{display:block;color:#16395d;font-size:1.06rem;margin:0 0 .25rem}
.privacy-copy p{color:#5b6d82;font-size:.89rem;margin:0;line-height:1.66}
.privacy-copy p b{color:#47617d;font-weight:650}
.privacy-copy a,.privacy-modal-footnote a{color:#185a99;text-decoration:underline;text-underline-offset:2px}
.privacy-actions{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1.1rem}
.privacy-btn{min-height:46px;border-radius:13px;border:1px solid #bdd0e5;background:#fff;padding:.75rem 1rem;font:inherit;font-weight:750;cursor:pointer;transition:background .2s,border-color .2s}
.privacy-btn-outline{background:#fff;color:#225282}
.privacy-btn-outline:hover{background:#eef5fd;border-color:#8ab4e0}
.privacy-btn-solid{background:#174b84;color:#fff;border-color:#174b84}
.privacy-btn-solid:hover{background:#0e3869}
.privacy-settings-link{display:block;margin:.75rem auto 0;padding:.2rem .6rem;background:none;border:0;color:#315f93;font:inherit;font-weight:650;font-size:.86rem;cursor:pointer}
.privacy-settings-link:hover{text-decoration:underline}
.privacy-modal-backdrop{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:10000;background:rgba(13,27,45,.5);padding:1rem;backdrop-filter:blur(4px)}
body.privacy-modal-open{overflow:hidden!important}
.privacy-modal{width:min(590px,100%);max-height:min(690px,calc(100dvh - 2rem));overflow-y:auto;background:#fff;padding:1.75rem;border-radius:23px;box-shadow:0 22px 70px rgba(0,0,0,.2)}
.privacy-modal-head{display:flex;justify-content:space-between;align-items:start;gap:1rem}
.privacy-modal-overline{font-size:.75rem;letter-spacing:.095em;text-transform:uppercase;color:#3472ab;font-weight:800}
.privacy-modal h2{margin:.15rem 0 .7rem;color:#193d65;font-size:1.55rem;line-height:1.2}
.privacy-close{display:grid;place-items:center;border:1px solid #d7e4f1;background:#f3f7fc;color:#345b83;width:35px;height:35px;cursor:pointer;border-radius:11px;line-height:1;font-size:1.6rem;flex:0 0 auto}
.privacy-modal-intro{margin:0 0 1.3rem;color:#576a80;font-size:.92rem;line-height:1.7}
.privacy-preference{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:1.05rem;border:1px solid #e1e9f2;border-radius:15px;margin-top:.75rem;background:#fcfdff}
.privacy-preference strong{font-size:.94rem;color:#1f3d60}
.privacy-preference p,.privacy-preference small{display:block;margin:.3rem 0 0;color:#617189;font-size:.82rem;line-height:1.6}
.privacy-mandatory{white-space:nowrap;font-size:.77rem;font-weight:800;color:#316b95}
.privacy-pref-select{cursor:pointer}
.privacy-pref-select>span:first-child{flex:1}
.privacy-pref-select input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.privacy-switch{width:45px;height:27px;border-radius:99px;background:#c6d5e5;position:relative;flex:0 0 auto;transition:background .18s}
.privacy-switch::before{content:"";position:absolute;left:4px;top:4px;width:19px;height:19px;background:#fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.13);transition:transform .18s}
.privacy-pref-select input:checked+.privacy-switch{background:#2c6eae}
.privacy-pref-select input:checked+.privacy-switch::before{transform:translateX(18px)}
.privacy-pref-select:focus-within{outline:3px solid #8ab9e5;outline-offset:2px}
.privacy-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1.25rem}
.privacy-modal-footnote{text-align:center;color:#6b7e93;font-size:.82rem;margin:1rem 0 0}
/* Tablet and mobile adjustments */
@media(max-width:1160px){
 .header-inner{flex-direction:column;align-items:flex-start!important;gap:.75rem}
 .nav{width:100%;justify-content:flex-start!important}
}
@media(max-width:980px){
 .service-grid{grid-template-columns:1fr 1fr}
 .services-hero-grid{grid-template-columns:1fr}
 .services-hero-visual{min-height:270px}
 .services-hero-visual img{height:300px}
 .preview-grid{grid-template-columns:1fr}
 .preview-aside-bottom{margin-top:1.5rem}
 .home-pillars{padding:3.3rem 0 3.7rem!important}
}
@media(max-width:760px){
 .service-grid{grid-template-columns:1fr}
 .service-detail{min-height:0}
 .service-close{flex-direction:column;align-items:flex-start}
 .service-close .btn{width:100%}
 .header .nav{flex-wrap:wrap;overflow:visible;scroll-snap-type:none;gap:.15rem;padding-bottom:.15rem}
 .nav a{white-space:nowrap;flex:0 0 auto;scroll-snap-align:start}
 .preview-hero-copy{padding:2rem 1.7rem}
 .preview-stage,.preview-aside{padding:1.6rem}
 .stage-illustration{height:98px;width:98px;right:1.4rem;top:1.4rem;border-radius:20px}
 .stage-icon{width:48px;height:48px}
 .preview-stage h2{margin-top:2.6rem}
 .home-service{min-height:0}
}
@media(max-width:560px){
 .brand img,.logo img{width:132px!important}
 .brand{gap:.6rem}
 .brand-title{font-size:.91rem!important}
 .brand-sub{font-size:.72rem!important}
 .header-inner{gap:.5rem}
 .nav a{font-size:.82rem!important;padding:.56rem .7rem!important}
 .hero h1{font-size:clamp(1.9rem,8.7vw,2.55rem)!important;line-height:1.16}
 .home-pillars{padding:2.4rem 0 3rem!important}
 .home-pillars .section-head{margin-bottom:1.55rem}
 .home-pillars .section-head h2{font-size:1.66rem}
 .home-pillars .section-copy{font-size:.99rem}
 .services-intro{padding:1.6rem 0 2rem}
 .services-hero-copy h1{font-size:clamp(1.83rem,8.2vw,2.42rem)}
 .services-hero-copy .lead{font-size:1rem}
 .services-hero-visual{min-height:220px;border-radius:20px}
 .services-hero-visual img{height:265px}
 .services-image-caption{padding:3rem 1.1rem 1.1rem}
 .service-detail{padding:1.25rem;border-radius:20px}
 .service-detail-top{margin-bottom:1rem}
 .service-detail h3{font-size:1.22rem}
 .service-detail-footer{font-size:.76rem}
 .service-close{padding:1.5rem}
 .preview-hero{padding:1.3rem 0 1rem}
 .preview-hero-copy{padding:1.65rem 1.3rem;border-radius:21px}
 .preview-hero-copy h1{font-size:clamp(1.83rem,8.2vw,2.5rem)}
 .preview-hero-copy .lead{font-size:.98rem}
 .preview-stage,.preview-aside{padding:1.3rem;border-radius:21px}
 .preview-stage h2{margin-top:2rem;font-size:1.65rem}
 .preview-stage p{font-size:.97rem}
 .preview-status{max-width:calc(100% - 104px)}
 .executive-profile{grid-template-columns:1fr;gap:.55rem}
 .privacy-banner{bottom:8px;width:calc(100% - 1rem);border-radius:17px;padding:1rem;max-height:calc(100dvh - 16px)}
 .privacy-symbol{width:36px;height:36px;border-radius:12px}
 .privacy-symbol svg{width:20px;height:20px}
 .privacy-banner-inner{gap:.7rem}
 .privacy-copy strong{font-size:.93rem}
 .privacy-copy p{font-size:.82rem;line-height:1.5}
 .privacy-actions{gap:.5rem;margin-top:.8rem}
 .privacy-btn{min-height:44px;font-size:.84rem;padding:.65rem .45rem;border-radius:11px}
 .privacy-modal{padding:1.15rem;border-radius:18px}
 .privacy-modal h2{font-size:1.3rem}
 .privacy-preference{padding:.8rem;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.stage-illustration {
    display: none !important;
}
