/* Nexthoid 4.27: editable, deliberately distinct home and service pages. */
.nx-signature-home,.nx-offer-page{--signature-ink:#123f48;--signature-green:#096b5e;color:var(--signature-ink);max-width:1160px;margin:auto;line-height:1.65}
.nx-signature-home *,.nx-offer-page *{box-sizing:border-box}
.nx-signature-home h1,.nx-offer-page h1{font-size:clamp(2.1rem,4.3vw,3.7rem);line-height:1.09;letter-spacing:-.045em;font-weight:750;margin:18px 0 24px;text-align:left}
.nx-signature-home h2,.nx-offer-page h2{font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.18;letter-spacing:-.035em;text-align:left}
.nx-signature-home p,.nx-offer-page p{max-width:66ch}
.nx-signature-home .wp-block-columns{display:flex;gap:clamp(24px,5vw,72px);align-items:center;margin:0}
.nx-signature-home .wp-block-column{flex:1;min-width:0}
.nx-signature-hero{padding:48px 0 72px;border-bottom:1px solid #d6e5e4}
.nx-signature-hero>.wp-block-columns>.wp-block-column:first-child{flex:.94}
.nx-signature-graphic{background:linear-gradient(150deg,#e6f4ef,#edf4fa);padding:26px;border:1px solid #d3e7df;border-radius:28px 28px 70px 28px}
.nx-signature-graphic .nx-check-graphic{margin:14px 0 0;width:100%;max-width:none}
.nx-signature-copy>p{font-size:17px;color:#47636b;margin:0 0 24px}
.nx-signature-copy>p:last-child{font-size:14px;margin:20px 0 0}
.nx-signature-home .wp-block-button__link,.nx-offer-page .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;background:#096b5e;border-radius:10px;color:white;text-decoration:none;line-height:1.4;font-weight:650;box-shadow:none}
.nx-signature-home a:focus-visible,.nx-offer-page a:focus-visible,.nx-offer-page summary:focus-visible{outline:3px solid #075985;outline-offset:5px}
.nx-signature-home .wp-block-button__link:hover,.nx-offer-page .wp-block-button__link:hover{background:#064b43}
.nx-signature-approach{padding:70px 0}
.nx-signature-approach>.wp-block-columns{align-items:stretch;gap:32px;margin-top:36px}
.nx-signature-step{border-top:2px solid #a4c8bc;padding:20px 0 0}
.nx-signature-step h3{font-size:21px;line-height:1.25;margin:16px 0 12px}
.nx-signature-step p{font-size:15px;color:#47636b;margin:0}
.nx-signature-person{background:#103e48;color:#fff;padding:44px;border-radius:24px}
.nx-signature-person h2,.nx-signature-person p,.nx-signature-person .nx-eyebrow{color:inherit}
.nx-signature-person p{color:#d8e8e9;font-size:16px}
.nx-signature-person .wp-block-columns>.wp-block-column:first-child{flex:.65}
.nx-signature-portrait img{display:block;width:100%;max-width:340px;height:340px;object-fit:cover;border-radius:16px}
.nx-signature-person .wp-block-button__link{background:#d1ece0;color:#103e48}
.nx-signature-close{padding:64px 0 32px;max-width:760px}
.nx-offer-intro{padding:42px 0 20px;max-width:860px}
.nx-offer-intro h1{font-size:clamp(2rem,3.7vw,3.25rem)}
.nx-offer-intro>p{font-size:17px;color:#47636b}
.nx-offer-navigation{display:flex;flex-wrap:wrap;gap:10px;padding:0 0 28px;border-bottom:1px solid #d6e5e4}
.nx-offer-navigation .wp-block-buttons{margin:0}
.nx-offer-navigation .wp-block-button__link{background:#edf5f2;color:#135747;border:1px solid #cbded7;font-size:14px;min-height:44px;padding:9px 16px}
.nx-offer-navigation .wp-block-button__link:hover{background:#d9eae3}
.nx-offer-page .nxo-services{max-width:none;margin:0}
.nx-offer-page .nxo-services .nxo-service-group{display:grid;grid-template-columns:245px minmax(0,1fr);gap:30px;padding:38px 0;margin:0;border-bottom:1px solid #d6e5e4}
.nx-offer-page .nxo-service-group-heading h3{font-size:23px;line-height:1.2;display:block}
.nx-offer-page .nxo-service-group-heading h3 .nxo-service-icon{display:flex;margin:0 0 16px}
.nx-offer-page .nxo-service-group-heading p{font-size:14px}
.nx-offer-page .nxo-services .nxo-service-grid{grid-template-columns:1fr;gap:12px}
.nx-offer-page .nxo-services .nxo-service-card{padding:24px;border-radius:14px;box-shadow:none;margin:0;gap:10px}
.nx-offer-page .nxo-services .nxo-service-card h4{font-size:21px}
.nx-offer-page .nxo-services .nxo-service-card h4 .nxo-service-icon{width:38px;height:38px;flex-basis:38px;background:transparent;border:0;padding:0}
.nx-offer-page .nxo-service-card h4 svg{width:30px;height:30px}
.nx-offer-page .nxo-services .nxo-service-price{text-align:left;font-size:21px;margin:4px 0}
.nx-offer-page .nxo-services .nxo-service-outcome{padding:12px 14px;font-size:14px}
.nx-offer-page .nxo-services .nxo-service-cta{align-self:flex-start;margin:6px 0 0;background:#096b5e;border-color:#096b5e}
.nx-offer-page .nxo-service-variants{grid-column:2;margin:0}
.nx-offer-page .nxo-services .nxo-service-note{display:block;padding:22px 0;border:0;border-radius:0;background:transparent;margin:12px 0;color:#47636b}
.nx-offer-help{border-top:1px solid #d6e5e4;background:#edf5f2;padding:28px;border-radius:16px;margin:24px 0 40px}
.nx-offer-help h2{font-size:26px;margin-top:0}
.nx-layout-preview{display:flex;justify-content:space-between;gap:20px;padding:16px 24px;background:#103e48;color:white;font:14px/1.5 sans-serif}
.nx-layout-preview a{color:white}
@media(max-width:850px){.nx-signature-home .wp-block-columns{flex-direction:column;align-items:stretch}.nx-signature-hero{padding:24px 0 40px}.nx-signature-graphic{max-width:560px;padding:20px}.nx-signature-copy{padding-top:8px}.nx-signature-approach{padding:40px 0}.nx-signature-approach>.wp-block-columns{gap:24px}.nx-signature-person{padding:26px}.nx-signature-person .wp-block-columns{gap:24px}.nx-signature-portrait img{height:260px;max-width:260px}.nx-offer-page .nxo-services .nxo-service-group{grid-template-columns:1fr;gap:16px;padding:28px 0}.nx-offer-page .nxo-service-variants{grid-column:1}.nx-offer-intro{padding-top:22px}.nx-offer-help{padding:22px}.nx-layout-preview{flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){.nx-signature-home *,.nx-offer-page *{scroll-behavior:auto;transition:none}}
.nx-signature-home .nx-kicker,.nx-offer-page .nx-kicker{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#096b5e;margin:0 0 14px;text-align:left}
.nx-signature-person .nx-kicker{color:#b9e1d1}
/* 4.27.1: decorative project-owned icons; existing page content stays intact. */
.nx-signature-step::before,.nx-signature-close::before,.nx-offer-help::before{content:"";display:block;width:56px;height:56px;margin:0 0 18px;border:1px solid #cbded7;border-radius:15px;background:#edf5f2 url('icons/zuhoeren.svg') center/38px 38px no-repeat}
.nx-signature-approach>.wp-block-columns>.wp-block-column:nth-child(2) .nx-signature-step::before{background-image:url('icons/planen.svg')}
.nx-signature-approach>.wp-block-columns>.wp-block-column:nth-child(3) .nx-signature-step::before{background-image:url('icons/begleiten.svg')}
.nx-signature-close::before{background-image:url('icons/verfahren.svg')}
.nx-offer-help::before{background-image:url('icons/kontakt.svg');background-color:white}
.nx-signature-person-copy>.wp-block-buttons .wp-block-button__link::before{content:"";display:inline-block;flex:0 0 24px;width:24px;height:24px;margin-right:10px;background:url('icons/kontakt.svg') center/contain no-repeat}
.nx-signature-approach::after{content:"Symbole mit KI erstellt.";display:block;margin-top:22px;font-size:11px;line-height:1.5;color:#47636b}
.nx-offer-help::after{content:"Symbol mit KI erstellt.";display:block;margin-top:16px;font-size:11px;line-height:1.5;color:#47636b}
/* Keep existing catalogue icons legible in the new compact layout. */
.nx-offer-page .nxo-services .nxo-service-card h4 .nxo-service-icon{display:inline-flex;flex:0 0 46px;width:46px;height:46px;background:#edf5f2;border:1px solid #cbded7;border-radius:12px;padding:6px}
.nx-offer-page .nxo-services .nxo-service-icon svg{display:block;visibility:visible;opacity:1}
/* 4.27.2: compact service rows without hiding content or changing Office placement. */
.nx-offer-page .nxo-services .nxo-service-group{padding:26px 0;gap:22px}
.nx-offer-page .nxo-services .nxo-service-grid{gap:10px}
.nx-offer-page .nxo-services .nxo-service-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;padding:18px 20px}
.nx-offer-page .nxo-services .nxo-service-card h4{grid-column:1/-1;grid-row:auto;font-size:19px;gap:10px}
.nx-offer-page .nxo-services .nxo-service-card h4 .nxo-service-icon{width:34px;height:34px;flex-basis:34px;border-radius:9px;padding:5px}
.nx-offer-page .nxo-services .nxo-service-card h4 svg{width:24px;height:24px}
.nx-offer-page .nxo-services .nxo-service-card>p:not(.nxo-service-price):not(.nxo-travel-note):not(.nxo-service-outcome){grid-column:1/-1;grid-row:auto;margin:0;font-size:14px;max-width:none}
.nx-offer-page .nxo-services .nxo-service-card .nxo-service-outcome{padding:9px 12px}
.nx-offer-page .nxo-services .nxo-service-outcome strong{display:inline;margin:0 8px 0 0}
.nx-offer-page .nxo-services .nxo-service-card details{grid-column:1/-1;grid-row:auto;margin:0}
.nx-offer-page .nxo-services .nxo-service-card summary{min-height:36px;padding:6px 0}
.nx-offer-page .nxo-services .nxo-service-card>.nxo-service-price{grid-column:1;grid-row:auto;align-self:center;margin:0;font-size:20px}
.nx-offer-page .nxo-services .nxo-service-card>.nxo-service-cta{grid-column:2;grid-row:auto;margin:0;align-self:center;min-height:44px;padding:9px 14px}
.nx-offer-page .nxo-services .nxo-service-card>.nxo-travel-note{grid-column:1/-1;grid-row:auto;text-align:left;margin:0}
/* Explicit grid areas put price and action together despite catalogue DOM order. */
.nx-offer-page .nxo-services .nxo-service-card{grid-template-areas:'title title' 'description description' 'outcome outcome' 'travel travel' 'details details' 'price action'}
.nx-offer-page .nxo-services .nxo-service-card h4{grid-area:title}
.nx-offer-page .nxo-services .nxo-service-card>p:not(.nxo-service-price):not(.nxo-travel-note):not(.nxo-service-outcome){grid-area:description}
.nx-offer-page .nxo-services .nxo-service-card>p.nxo-service-outcome{grid-area:outcome}
.nx-offer-page .nxo-services .nxo-service-card>.nxo-travel-note{grid-area:travel}
.nx-offer-page .nxo-services .nxo-service-card details{grid-area:details}
.nx-offer-page .nxo-services .nxo-service-card>.nxo-service-price{grid-area:price}
.nx-offer-page .nxo-services .nxo-service-card>.nxo-service-cta{grid-area:action}
.nx-offer-page .nxo-services .nxo-service-card--compact{padding:14px 16px;gap:6px 16px}
@media(max-width:600px){.nx-offer-page .nxo-services .nxo-service-card{grid-template-columns:minmax(0,1fr);grid-template-areas:'title' 'description' 'outcome' 'travel' 'details' 'price' 'action';padding:16px;gap:7px}.nx-offer-page .nxo-services .nxo-service-card h4{display:flex;font-size:18px}.nx-offer-page .nxo-services .nxo-service-card h4 .nxo-service-icon{margin:0}.nx-offer-page .nxo-services .nxo-service-card>.nxo-service-cta{justify-self:start}.nx-offer-page .nxo-services .nxo-service-group{padding:22px 0;gap:12px}}
/* Two-column catalogue, preserving Office order and disclosure groups. */
.nx-offer-page .nxo-services .nxo-service-group{display:block}
.nx-offer-page .nxo-services .nxo-service-group-heading{margin:0 0 18px}
.nx-offer-page .nxo-services .nxo-service-group-heading h3{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.nx-offer-page .nxo-services .nxo-service-group-heading h3 .nxo-service-icon{margin:0;flex:0 0 38px;width:38px;height:38px}
.nx-offer-page .nxo-services .nxo-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.nx-offer-page .nxo-services .nxo-service-card{grid-template-columns:minmax(0,1fr);grid-template-areas:'title' 'description' 'outcome' 'travel' 'details' 'price' 'action';align-content:start}
.nx-offer-page .nxo-services .nxo-service-card>.nxo-service-cta{justify-self:start}
.nx-offer-page .nxo-service-variants{margin:14px 0 0}
@media(max-width:700px){.nx-offer-page .nxo-services .nxo-service-grid{grid-template-columns:minmax(0,1fr)}.nx-offer-page .nxo-services .nxo-service-group-heading h3{font-size:22px}}
@media(min-width:701px){.nx-offer-page .nxo-services .nxo-service-grid>.nxo-service-card:only-child{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'title title' 'description description' 'outcome outcome' 'travel travel' 'details details' 'price action'}}
/* 4.27.3: emphasis follows the existing Office display_style setting. */
.nx-offer-page .nxo-services .nxo-service-card{border-color:#dce6e7;background:#fff;box-shadow:none}
.nx-offer-page .nxo-services .nxo-service-card .nxo-service-outcome{background:#f4f7f7;border-radius:8px}
.nx-offer-page .nxo-services .nxo-service-group-heading h3 .nxo-service-icon{background:#deeee8;border-color:#b9d7cd;color:#075d54}
.nx-offer-page .nxo-services .nxo-service-card--highlight{background:linear-gradient(130deg,#e5f4ee 0%,#eef5fb 100%);border:1px solid #9abfb4;border-top:4px solid #096b5e;box-shadow:0 6px 20px #143f480b}
.nx-offer-page .nxo-services .nxo-service-card--highlight .nxo-service-outcome{background:#ffffffb8}
.nx-offer-page .nxo-services .nxo-service-card--highlight h4 .nxo-service-icon{background:#fff;border-color:#acd0c3}
.nx-offer-page .nxo-services .nxo-service-card--highlight .nxo-service-price{color:#075d54}
/* 4.27.4: existing portrait, editable invitation, local appointment flow. */
.nx-offer-help-personal::before,.nx-offer-help-personal::after{content:none;display:none}
.nx-offer-help-personal>.wp-block-columns{display:flex;align-items:center;gap:32px;margin:0}
.nx-offer-help-personal>.wp-block-columns>.wp-block-column{flex:1;min-width:0}
.nx-offer-help-personal>.wp-block-columns>.wp-block-column:first-child{flex:0 0 200px}
.nx-offer-help-personal .nx-portrait{margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.nx-offer-help-personal .nx-portrait img{display:block;width:200px;height:240px;object-fit:cover;border-radius:16px}
.nx-offer-help-copy>p:last-child{font-size:12px;color:#47636b;margin:12px 0 0}
@media(max-width:700px){.nx-offer-help-personal>.wp-block-columns{flex-direction:column;align-items:stretch;gap:22px}.nx-offer-help-personal>.wp-block-columns>.wp-block-column:first-child{flex:auto}.nx-offer-help-personal .nx-portrait img{width:160px;height:190px}}
.nx-offer-help-personal .nx-portrait{width:200px;height:240px;aspect-ratio:auto;overflow:hidden}
.nx-offer-help-personal .nx-portrait img{width:100%;height:100%!important;aspect-ratio:auto}
.nx-offer-help-personal .nx-portrait img[src$="/assets/n.svg"]{padding:28px;object-fit:contain}
@media(max-width:700px){.nx-offer-help-personal .nx-portrait{width:160px;height:190px}}
