/* J&M Projekt GmbH · November 2026 */
/* Quiet, code-native architectural drawing; no external assets or requests. */
body::before {
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:url("architecture.svg") right 30% / min(1100px,100vw) auto no-repeat;
  opacity:.065;
}
main,.footer {position:relative;z-index:1}
.home-page .hero {padding:76px 0 65px}
.home-page .hero-grid {grid-template-columns:minmax(0,1.18fr) minmax(220px,.82fr)}
.home-page .hero-box {padding:2.2rem;background:rgba(255,255,255,.68);border-color:rgba(255,255,255,.8)}
.home-page .hero-box h1 {font-size:clamp(2.2rem,4.2vw,3.4rem);line-height:1.08;max-width:620px;letter-spacing:-.035em}
.home-page .hero-box .lead {max-width:530px;line-height:1.75}
.home-page .hero-badges {margin-top:1.15rem}
.home-pillars {scroll-margin-top:145px}
.home-pillars .section-head {align-items:end}
.home-pillars .service-hint {display:flex;align-items:center;gap:.6rem;white-space:nowrap;color:#536b86;font-size:.86rem;margin:0 0 .2rem}
.service-hint>span {display:grid;place-items:center;width:27px;height:27px;border:1px solid #d8e5f2;border-radius:50%;color:#225a91;font-size:1.1rem}
.service-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;align-items:start}
.service-card {min-width:0;border:1px solid #d7e4f1;border-radius:25px;background:rgba(255,255,255,.96);box-shadow:0 12px 35px rgba(23,60,97,.055);overflow:hidden;transition:border-color .25s,box-shadow .25s,background .25s;scroll-margin-top:150px}
.service-card:hover {border-color:#a7c6e4;box-shadow:0 18px 42px rgba(23,60,97,.10)}
.service-card[open] {border-color:#8cb4da;background:#f9fcff;box-shadow:0 20px 44px rgba(23,60,97,.11)}
.service-summary {position:relative;display:flex;flex-direction:column;min-height:352px;padding:1.55rem;cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent}
.service-summary::-webkit-details-marker {display:none}
.service-summary::marker {content:""}
.service-summary:focus-visible {outline:3px solid #6b9fec;outline-offset:-5px;border-radius:24px}
.service-card-top {display:flex;justify-content:space-between;align-items:center;gap:1rem}
.service-card .service-symbol {width:47px;height:47px;margin:0;border-radius:14px}
.service-overline {font-size:.69rem;text-transform:uppercase;letter-spacing:.13em;color:#4d6b89;font-weight:750}
.service-sketch {width:139px;height:81px;color:#9cb8d3;align-self:flex-end;margin:-7px 0 .6rem;transition:color .3s}
.sketch-main {stroke-dasharray:430;stroke-dashoffset:0}
.sketch-guide {opacity:.35;stroke-dasharray:3 4;stroke-width:.8}
.sketch-accent {color:#2d72ad;stroke-width:1.8}
.service-card:hover .service-sketch,.service-card[open] .service-sketch {color:#548bb9}
.service-card[open] .sketch-main {animation:sketch-draw .8s ease both}
@keyframes sketch-draw {from{stroke-dashoffset:430;opacity:.3}to{stroke-dashoffset:0;opacity:1}}
.service-summary h3 {font-size:1.28rem;line-height:1.32;letter-spacing:-.02em;color:#173b62;margin:.1rem 0 .6rem;text-wrap:balance}
.service-summary .service-teaser {font-size:.96rem;line-height:1.65;color:#5c6e83;margin:0 0 1.25rem}
.service-toggle {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:auto;padding-top:1rem;border-top:1px solid #e2eaf2;color:#245b90;font-weight:700;font-size:.88rem}
.service-plus {position:relative;display:block;width:29px;height:29px;border:1px solid #d5e4f2;border-radius:50%;background:#f2f7fd;transition:transform .25s,background .25s}
.service-plus::before,.service-plus::after {content:"";position:absolute;left:8px;right:8px;top:13px;height:1px;background:currentColor}
.service-plus::after {transform:rotate(90deg);transition:transform .25s}
.service-card[open] .service-plus {background:#e4effb}
.service-card[open] .service-plus::after {transform:rotate(0deg)}
.service-less,.service-card[open] .service-more {display:none}
.service-card[open] .service-less {display:inline}
.service-reveal {overflow:hidden}
.service-reveal-inner {padding:0 1.55rem 1.55rem}
.service-reveal p {margin:0;color:#52677e;font-size:.94rem;line-height:1.78}
.service-tags {display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;padding:0;margin:1rem 0 0}
.service-tags li {background:#edf4fb;border:1px solid #dce9f5;color:#385f86;font-size:.71rem;padding:.3rem .6rem;border-radius:8px;line-height:1.5}
.service-reveal .quiet-link {padding-top:1rem}
.about-page .page-hero-box {background:linear-gradient(110deg,rgba(255,255,255,.95),rgba(247,251,255,.87)),url("architecture.svg") right center/760px auto no-repeat}
.about-page .section-band {position:relative;background:linear-gradient(115deg,rgba(232,241,251,.65),rgba(247,251,255,.3))}
.about-page .section-band::before {content:"";position:absolute;inset:0;pointer-events:none;background:url("architecture.svg") center/1100px auto no-repeat;opacity:.07}
.about-page .company-story {position:relative}
.direct-contact {align-self:start;padding:1.8rem;background:linear-gradient(145deg,#fff,#f6faff)}
.direct-contact .eyebrow {font-size:.74rem}
.direct-contact h2 {margin:.9rem 0!important;font-size:clamp(1.6rem,2.4vw,2rem);line-height:1.2;color:#173b62}
.direct-contact>p {color:#5c6e83;margin:0;line-height:1.75}
.contact-details {display:grid;gap:.85rem;margin:1.6rem 0 1.2rem;font-style:normal}
.contact-detail {display:flex;align-items:flex-start;gap:.9rem;padding:1rem;border:1px solid #dae6f1;border-radius:18px;background:#fff;text-decoration:none;min-width:0;transition:border-color .2s,box-shadow .2s}
a.contact-detail:hover {border-color:#99bde0;box-shadow:0 8px 20px rgba(23,60,97,.07)}
.contact-icon {display:grid;place-items:center;width:39px;height:39px;flex:0 0 auto;border-radius:12px;background:#edf4fc;color:#2c659c}
.contact-icon svg {width:20px;height:20px}
.contact-detail>div,.contact-detail>span:last-child {min-width:0;display:grid;gap:.15rem}
.contact-label {display:block;font-size:.72rem;font-weight:650;color:#5d7590;letter-spacing:.045em}
.contact-detail strong {display:block;color:#183f68;font-size:1rem;overflow-wrap:anywhere}
.contact-detail span {color:#546c85}
.contact-detail .contact-action {font-size:.76rem;color:#27629a;margin-top:.2rem}
.direct-contact .contact-note {font-size:.85rem;line-height:1.65}
.form-wrap {align-items:start}
@media(max-width:1160px){html{scroll-padding-top:190px}.home-pillars,.service-card{scroll-margin-top:190px}}
@media(max-width:980px){
 .home-page .hero-grid {grid-template-columns:1fr}
 .home-page .hero-box {max-width:710px}
 .home-page .hero {padding:60px 0 48px}
 .service-cards {gap:.8rem}
 .service-summary {padding:1.2rem;min-height:380px}
 .service-summary h3 {font-size:1.15rem}
 .service-reveal-inner {padding:0 1.2rem 1.2rem}
 .service-sketch {width:123px}
}
@media(max-width:760px){
 .home-pillars .section-head {display:block}
 .home-pillars .service-hint {margin-top:1rem;white-space:normal}
 .service-cards {grid-template-columns:1fr;gap:1rem}
 .service-summary {min-height:0;padding:1.5rem}
 .service-sketch {position:absolute;right:1.4rem;top:1rem;width:112px;height:72px;opacity:.7}
 .service-card-top {justify-content:flex-start;margin-bottom:1.35rem;padding-right:115px}
 .service-card .service-symbol {width:42px;height:42px}
 .service-overline {font-size:.62rem;letter-spacing:.07em}
 .service-summary h3 {font-size:1.26rem;max-width:510px}
 .service-summary .service-teaser {margin-bottom:1rem}
 .service-reveal-inner {padding:0 1.5rem 1.5rem}
 .direct-contact {padding:1.4rem}
}
@media(max-width:560px){
 .home-page .hero {padding:2rem 0 2.4rem}
 .home-page .hero-box {padding:1.4rem}
 .home-page .eyebrow {font-size:.68rem;letter-spacing:.09em;gap:.5rem}
 .home-page .eyebrow::before {width:26px}
 .home-page .hero .lead {font-size:1rem}
 .home-pillars,.service-card {scroll-margin-top:195px}
 .service-card {border-radius:21px}
 .service-summary {padding:1.25rem}
 .service-card-top {gap:.6rem;padding-right:95px}
 .service-sketch {width:100px;right:1.1rem;top:1rem}
 .service-reveal-inner {padding:0 1.25rem 1.25rem}
 .contact-detail {padding:.9rem;gap:.75rem}
 .contact-detail strong {font-size:.96rem}
 .direct-contact {padding:1.25rem}
 body::before {opacity:.045;background-size:900px auto}
}
@media(prefers-reduced-motion:reduce){.service-card[open] .sketch-main{animation:none}.service-reveal{transition:none}}
