/* Ergänzungen nur für den neuen Seiteninhalt. Header/Footer und Grundtypografie kommen unverändert aus den STM-Originaldateien. */
html{scroll-behavior:smooth;scroll-padding-top:90px}
#main.stm-payroll{padding-top:85px}
.stm-payroll{font-family:"Lato",sans-serif;color:#898989;font-size:14px;line-height:24px}
.stm-payroll h1,.stm-payroll h2,.stm-payroll h3{font-family:"Montserrat",sans-serif;color:#242424;font-weight:700}
.stm-payroll h1,.stm-payroll h2{font-size:30px;line-height:1.4;text-transform:uppercase;letter-spacing:.9px}
.stm-payroll h3{font-size:18px;line-height:1.5}
.stm-payroll p{margin-bottom:18px}
.stm-payroll a{color:#1b3e90}
.stm-payroll img{max-width:100%;height:auto}
.stm-payroll .eyebrow{font-family:"Montserrat",sans-serif;font-size:12px;font-weight:600;color:#1b3e90;text-transform:uppercase;letter-spacing:.45px;margin-bottom:14px}
.stm-payroll .hero{padding:55px 0 45px;background:#f8f8f8}
.stm-payroll .hero h1{max-width:1000px;margin-bottom:16px}
.stm-payroll .hero-promise{font-size:20px;font-family:"Montserrat",sans-serif;font-weight:600;color:#1b3e90;line-height:30px}
.stm-payroll .hero-copy{font-size:17px;line-height:28px;letter-spacing:.34px;max-width:730px}
.stm-payroll .text-link{font-size:14px;font-weight:700}
.stm-payroll .calculator-section{padding:55px 0 70px}
.stm-payroll .section-heading{margin-bottom:32px;text-align:center}
.stm-payroll .section-heading h2{padding-bottom:20px}
.stm-payroll .section-heading>p:last-child{font-size:17px;line-height:28px;letter-spacing:.34px;margin:0}
.stm-payroll .calculator{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e8e8e8}
.stm-payroll .calculator-inputs{padding:32px 35px}
.stm-payroll .field{display:flex;flex-direction:column;gap:7px;margin-bottom:20px}
.stm-payroll .field label{font-size:14px;line-height:24px;color:#242424;font-weight:700;margin:0}
.stm-payroll .field input,.stm-payroll .field textarea{font-family:"Lato",sans-serif;font-size:14px;line-height:24px;color:#242424;border:1px solid #e3e3e3;border-radius:0;min-height:45px;box-shadow:none;padding:10px 15px;background:white;width:100%}
.stm-payroll .field input[type=number]{font-size:22px;font-family:"Montserrat",sans-serif;font-weight:600;height:54px}
.stm-payroll .field textarea{resize:vertical}
.stm-payroll .field small{font-size:12px;line-height:20px}
.stm-payroll .supplement-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.stm-payroll .supplement-fields label{min-height:48px}
.stm-payroll .small-text{font-size:12px;line-height:20px}
.stm-payroll .overlap-note{margin-bottom:22px}
.stm-payroll .tariff-details{border-top:1px solid #e8e8e8;padding-top:15px;font-size:13px}
.stm-payroll .tariff-details summary{cursor:pointer;color:#1b3e90;font-weight:700}
.stm-payroll .tariff-details p{margin:12px 0 0}
.stm-payroll .tariff-details table{width:100%;margin-top:16px;border-collapse:collapse}
.stm-payroll .tariff-details caption{color:#242424;font-weight:700}
.stm-payroll .tariff-details th,.stm-payroll .tariff-details td{border-bottom:1px solid #e8e8e8;padding:7px 0}
.stm-payroll .tariff-details th:last-child,.stm-payroll .tariff-details td:last-child{text-align:right}
.stm-payroll .calculator-result{background:#1b3e90;padding:35px;color:white;display:flex;flex-direction:column;justify-content:center}
.stm-payroll .result-kicker{font-family:"Montserrat",sans-serif;font-weight:600;font-size:14px;margin-bottom:10px}
.stm-payroll .price{font-family:"Montserrat",sans-serif;font-weight:700;font-size:38px;line-height:1.35;overflow-wrap:anywhere}
.stm-payroll .price-subline{font-size:13px;margin:8px 0 20px;color:white}
.stm-payroll .breakdown{margin:0 0 12px;font-size:13px}
.stm-payroll .breakdown>div{display:flex;justify-content:space-between;gap:16px;padding:6px 0}
.stm-payroll .breakdown dt{max-width:73%;font-weight:400}
.stm-payroll .breakdown dd{margin:0;white-space:nowrap;font-weight:700}
.stm-payroll .minimum-note{font-size:12px;line-height:20px;padding:9px 12px;background:rgba(255,255,255,.1)}
.stm-payroll .setup-row{border-top:1px solid rgba(255,255,255,.3);border-bottom:1px solid rgba(255,255,255,.3);padding:17px 0;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.stm-payroll .setup-row span{font-weight:700}
.stm-payroll .setup-row small{display:block;font-size:12px;margin-top:3px}
.stm-payroll .setup-row strong{font-family:"Montserrat",sans-serif;font-size:18px;white-space:nowrap}
.stm-payroll .result-note{color:white;font-size:12px;line-height:20px;margin-bottom:15px}
.stm-payroll .last-note{margin:12px 0 0}
.stm-payroll .button{display:inline-block;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:600;letter-spacing:.28px;text-transform:uppercase;text-align:center;line-height:24px;padding:12px 18px;background:#1b3e90;color:white;border:0;border-radius:0;cursor:pointer;transition:background .3s}
.stm-payroll .button:hover{background:#0b2c78;color:white}
.stm-payroll .button:disabled{opacity:.6;cursor:wait}
.stm-payroll .button-white{background:white;color:#242424;width:100%}
.stm-payroll .button-white:hover{background:#0b2c78;color:white}
.stm-payroll .benefits-section{background:#f1f1f1;padding:60px 0}
.stm-payroll .benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin:35px 0 40px}
.stm-payroll .benefit-number{font-family:"Montserrat",sans-serif;color:#1b3e90;font-size:13px;margin-bottom:12px;display:block}
.stm-payroll .benefits-grid h3{font-size:17px;margin-bottom:14px;min-height:50px}
.stm-payroll .benefits-grid p{margin:0}
.stm-payroll .included{border-top:1px solid #ddd;padding-top:35px;display:grid;grid-template-columns:1fr 1.2fr;gap:50px}
.stm-payroll .included h3{font-size:22px;margin-bottom:15px}
.stm-payroll .included p{margin:0}
.stm-payroll .included ul{list-style:disc;padding-left:19px;columns:2;column-gap:30px}
.stm-payroll .included li{break-inside:avoid;margin-bottom:12px}
.stm-payroll .contact-section{padding:70px 0}
.stm-payroll .contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:60px}
.stm-payroll .contact-copy h2{font-size:28px;letter-spacing:.84px;margin-bottom:20px}
.stm-payroll .contact-copy>p:not(.eyebrow){font-size:16px;line-height:26px}
.stm-payroll .person{display:flex;align-items:center;gap:20px;margin:30px 0}
.stm-payroll .person img{width:110px;height:110px;border-radius:0;flex-shrink:0}
.stm-payroll .person strong{display:block;font-family:"Montserrat",sans-serif;color:#242424;font-size:16px;margin-bottom:6px}
.stm-payroll .person span{display:block;font-size:12px;line-height:20px;margin-bottom:6px}
.stm-payroll .person a{font-size:13px}
.stm-payroll .direct-contact a{font-size:20px;font-weight:700}
.stm-payroll .contact-form{padding:30px;background:#1b3e90;color:white}
.stm-payroll .contact-form .field label{color:white;font-weight:400;font-size:13px}
.stm-payroll .form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.stm-payroll .form-context{font-size:12px;line-height:20px}
.stm-payroll .privacy-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:12px;line-height:20px;margin-bottom:20px}
.stm-payroll .privacy-check input{flex-shrink:0;margin-top:4px}
.stm-payroll .privacy-check a{color:white;text-decoration:underline}
.stm-payroll .contact-form .button{background:white;color:#242424;width:100%}
.stm-payroll .contact-form .button:hover{background:#0b2c78;color:white}
.stm-payroll .form-footnote,.stm-payroll .preview-note{font-size:11px;line-height:18px;margin:12px 0 0}
.stm-payroll .preview-note{border-top:1px solid rgba(255,255,255,.3);padding-top:12px}
.stm-payroll .field-error,.stm-payroll .form-status,.stm-payroll .notice{padding:12px 14px;background:#eef3fd;color:#1b3e90;font-size:13px;line-height:22px;margin:15px 0}
.stm-payroll .field-error,.stm-payroll .form-status.error{background:#fff0ef;color:#a32121}
.stm-payroll .form-status.success{background:#e9f7ef;color:#17663b}
.stm-payroll .honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.stm-payroll [hidden]{display:none!important}
.stm-payroll input:focus-visible,.stm-payroll textarea:focus-visible,.stm-payroll button:focus-visible,.stm-payroll a:focus-visible{outline:2px solid #7ba3ff;outline-offset:3px}
.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:15px;top:15px;z-index:100;background:white;padding:10px}
@media(max-width:991px){#main.stm-payroll{padding-top:57px}.stm-payroll .calculator-inputs,.stm-payroll .calculator-result{padding:27px}.stm-payroll .price{font-size:32px}.stm-payroll .contact-grid{gap:30px}.stm-payroll .included ul{columns:1}}
@media(max-width:767px){.stm-payroll .hero{padding:35px 0}.stm-payroll h1,.stm-payroll h2{font-size:25px;line-height:1.45}.stm-payroll .desktop-break{display:none}.stm-payroll .hero-promise{font-size:18px;line-height:27px}.stm-payroll .hero-copy{font-size:16px;line-height:26px}.stm-payroll .calculator-section{padding:40px 0 50px}.stm-payroll .calculator{grid-template-columns:1fr}.stm-payroll .supplement-fields{gap:15px}.stm-payroll .price{font-size:34px}.stm-payroll .benefits-section{padding:45px 0}.stm-payroll .benefits-grid{grid-template-columns:1fr 1fr;gap:25px}.stm-payroll .benefits-grid h3{font-size:16px}.stm-payroll .included{grid-template-columns:1fr;gap:25px}.stm-payroll .contact-section{padding:45px 0}.stm-payroll .contact-grid{grid-template-columns:1fr;gap:25px}.stm-payroll .contact-copy h2{font-size:25px}.stm-payroll .contact-form{padding:25px}.stm-payroll .form-columns{gap:15px}.stm-payroll .form-columns .field label{min-height:38px}}
@media(max-width:360px){.stm-payroll .calculator-inputs,.stm-payroll .calculator-result,.stm-payroll .contact-form{padding:20px}.stm-payroll .supplement-fields,.stm-payroll .form-columns{grid-template-columns:1fr;gap:0}.stm-payroll .supplement-fields label,.stm-payroll .form-columns .field label{min-height:0}.stm-payroll .price{font-size:29px}.stm-payroll .setup-row strong{font-size:15px}.stm-payroll .person{gap:14px}.stm-payroll .person img{width:85px;height:85px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.stm-payroll .button{transition:none}}
.stm-payroll .contact-grid>*{min-width:0}.stm-payroll .person>div{min-width:0}.stm-payroll .person a{overflow-wrap:anywhere}
@media(max-width:767px){.stm-payroll h1,.stm-payroll h2{overflow-wrap:anywhere}}
.stm-payroll .contact-grid::before,.stm-payroll .contact-grid::after{content:none;display:none}
/* Originaler Startseiten-Bildaufbau: transparenter STM-Header über bestehendem Foto. */
#main.stm-payroll{padding-top:0}
.stm-payroll .hero{min-height:600px;padding-top:160px;padding-bottom:60px;background:#888 url('../images/stm-payroll/slider-1.jpg') center center/cover no-repeat}
.stm-payroll .hero h1{max-width:620px;color:white;font-size:55px;line-height:59px;font-weight:600;text-transform:none;letter-spacing:0;margin-bottom:25px}
.stm-payroll .hero .eyebrow,.stm-payroll .hero-promise,.stm-payroll .hero-copy,.stm-payroll .hero .text-link{color:white}
.stm-payroll .hero-copy{max-width:540px;font-size:18px;line-height:26px;letter-spacing:0}
.stm-payroll .hero-promise{max-width:580px;font-family:"Lato",sans-serif;font-size:18px;line-height:26px;font-weight:400}
.stm-payroll .hero .text-link{display:inline-flex;align-items:center;justify-content:center;min-height:62px;max-width:100%;border:2px solid #1b3e90;padding:17px 28px;background:#1b3e90;color:#fff;font-family:"Montserrat",sans-serif;font-size:18px;line-height:26px;font-weight:600;text-transform:uppercase;text-align:center;white-space:normal;text-decoration:none}
.stm-payroll .hero .text-link:hover{background:#0b2c78;border-color:#0b2c78;color:#fff}
@media(max-width:991px){#main.stm-payroll{padding-top:0}.stm-payroll .hero{min-height:520px;padding-top:135px}.stm-payroll .hero h1{font-size:44px;line-height:49px;max-width:530px}}
@media(max-width:767px){.stm-payroll .hero{min-height:520px;padding-top:115px;background-position:58% center}.stm-payroll .hero h1{font-size:34px;line-height:40px;max-width:360px;text-shadow:0 1px 5px rgba(0,0,0,.3)}.stm-payroll .hero-promise,.stm-payroll .hero-copy{font-size:16px;line-height:24px;max-width:360px;text-shadow:0 1px 5px rgba(0,0,0,.3)}}
/* SEO-Erweiterung: ursprüngliche Montserrat-/Lato-Typografie, nur innerhalb der neuen Landingpage. */
.stm-payroll h2{line-height:33px}
.stm-payroll .seo-section{padding:65px 0}
.stm-payroll .seo-grey{background:#f1f1f1}
.stm-payroll .seo-section .section-heading{margin-bottom:35px}
.stm-payroll .seo-section h3{margin-top:0;margin-bottom:18px;font-size:20px;line-height:28px;font-weight:600}
.stm-payroll .seo-section p{font-size:17px;line-height:28px;letter-spacing:.34px}
.stm-payroll .seo-columns{display:grid;grid-template-columns:1fr 1fr;gap:60px}
.stm-payroll .seo-columns>div{min-width:0}
.stm-payroll .seo-columns h3:not(:first-child){margin-top:30px}
.stm-payroll .seo-section>.container.seo-text>p{max-width:980px;margin-left:auto;margin-right:auto}
.stm-payroll .seo-section a{text-decoration:underline;text-underline-offset:3px}
.stm-payroll .seo-faq{max-width:980px;margin:0 auto;border-top:1px solid #ddd}
.stm-payroll .seo-faq details{border-bottom:1px solid #ddd;padding:20px 0}
.stm-payroll .seo-faq summary{cursor:pointer;font-family:'Montserrat',sans-serif;font-weight:600;font-size:17px;line-height:26px;color:#242424}
.stm-payroll .seo-faq summary::marker{color:#1b3e90}
.stm-payroll .seo-faq details p{margin:15px 0 0;padding-left:20px}
.stm-payroll .seo-faq summary:focus-visible{outline:2px solid #7ba3ff;outline-offset:4px}
@media(max-width:991px){.stm-payroll .seo-columns{gap:35px}}
@media(max-width:767px){.stm-payroll h2{line-height:31px}.stm-payroll .seo-section{padding:45px 0}.stm-payroll .seo-columns{grid-template-columns:1fr;gap:30px}.stm-payroll .seo-section p{font-size:16px;line-height:26px}.stm-payroll .seo-section h3{font-size:18px;line-height:26px}.stm-payroll .seo-faq summary{font-size:16px;line-height:25px}}
/* Lange Leistungsbegriffe dürfen das mobile Raster nicht verbreitern. */
.stm-payroll .benefits-grid>*{min-width:0;overflow-wrap:anywhere}
.stm-payroll .hero{position:relative}
.stm-payroll .hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.42),rgba(0,0,0,.3) 42%,transparent 78%);mask-image:linear-gradient(180deg,transparent 0,transparent 85px,#000 180px)}
.stm-payroll .hero>.container{position:relative}
.stm-payroll .hero h1{max-width:760px}
@media(max-width:991px){.stm-payroll .hero h1{max-width:620px}}
@media(max-width:767px){.stm-payroll .hero h1{max-width:360px}.stm-payroll .hero::before{background:linear-gradient(90deg,rgba(0,0,0,.4),rgba(0,0,0,.22));mask-image:linear-gradient(180deg,transparent 0,transparent 90px,#000 180px)}}
@media(max-width:480px){.stm-payroll .benefits-grid{grid-template-columns:1fr;gap:25px}.stm-payroll .benefits-grid h3{min-height:0}}
.stm-payroll .seo-grey+.seo-grey{background:white}
.stm-payroll #faq{background:#f1f1f1}
@media(max-width:360px){.stm-payroll .hero h1{font-size:28px;line-height:34px}}
/* Responsive-Überarbeitung und dezente Icons, ohne globale Header-/Footer-Änderungen. */
.stm-payroll .calculator{grid-template-columns:repeat(2,minmax(0,1fr))}
.stm-payroll .calculator>*{min-width:0}
.stm-payroll .benefits-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.stm-payroll .form-columns>*{min-width:0}
.stm-payroll .benefit-icon{display:block;color:#1b3e90;font-size:30px;line-height:40px;margin-bottom:16px}
.stm-payroll .section-icon{display:block;color:#1b3e90;font-size:30px;line-height:40px;margin-bottom:14px}
.stm-payroll #submit-button .fa{font-size:16px;margin-right:7px}
.stm-payroll .field label{overflow-wrap:break-word}
.stm-payroll .field input,.stm-payroll .field textarea{max-width:100%}
@media(max-width:1199px){.stm-payroll .benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stm-payroll .benefits-grid h3{min-height:0}}
@media(max-width:991px){
  .stm-payroll .calculator,.stm-payroll .contact-grid,.stm-payroll .seo-columns{grid-template-columns:minmax(0,1fr)}
  .stm-payroll .contact-grid{gap:35px}
  .stm-payroll .calculator-inputs,.stm-payroll .calculator-result{padding:30px}
  .stm-payroll .seo-columns{gap:30px}
  .stm-payroll .contact-form .field input,.stm-payroll .contact-form .field textarea{font-size:16px}
}
@media(max-width:767px){
  .stm-payroll .hero{height:auto;min-height:0;padding-top:115px;padding-bottom:40px}
  .stm-payroll .hero h1{font-size:clamp(28px,8.5vw,34px);line-height:1.18;max-width:100%;overflow-wrap:break-word}
  .stm-payroll .hero-promise,.stm-payroll .hero-copy{max-width:100%}
  .stm-payroll .hero .text-link{width:100%;min-height:58px;font-size:16px;line-height:24px;padding:15px 18px}
  .stm-payroll .tariff-details summary{display:flex;align-items:center;min-height:46px;padding:10px 0}
  .stm-payroll .tariff-details summary::before{content:'+';font-size:20px;margin-right:10px}
  .stm-payroll .tariff-details[open] summary::before{content:'−'}
  .stm-payroll .seo-faq summary{min-height:44px}
  .stm-payroll .privacy-check{min-height:44px;font-size:13px;line-height:21px}
  .stm-payroll .privacy-check input{width:18px;height:18px;min-width:18px;margin-top:2px}
  .stm-payroll .button{min-height:48px;white-space:normal}
  .stm-payroll .field input,.stm-payroll .field textarea{font-size:16px}
  .stm-payroll .field input[type=number]{font-size:22px}
  .stm-payroll .form-footnote,.stm-payroll .preview-note{font-size:12px;line-height:20px}
}
@media(max-width:575px){
  .stm-payroll .benefits-grid,.stm-payroll .supplement-fields,.stm-payroll .form-columns{grid-template-columns:minmax(0,1fr)}
  .stm-payroll .supplement-fields,.stm-payroll .form-columns{gap:0}
  .stm-payroll .supplement-fields label,.stm-payroll .form-columns .field label{min-height:0}
  .stm-payroll .calculator-inputs,.stm-payroll .calculator-result,.stm-payroll .contact-form{padding:22px}
  .stm-payroll .calculator-result .price{font-size:32px}
  .stm-payroll .benefits-grid{margin:30px 0 0;gap:28px}
  .stm-payroll .benefit-icon{font-size:28px;line-height:36px;margin-bottom:10px}
  .stm-payroll .person{align-items:flex-start}
}
@media(max-width:360px){
  .stm-payroll .calculator-inputs,.stm-payroll .calculator-result,.stm-payroll .contact-form{padding:18px}
  .stm-payroll .calculator-result .price{font-size:29px}
  .stm-payroll .setup-row{align-items:flex-start;flex-wrap:wrap}
  .stm-payroll .breakdown>div{gap:10px}
}
/* Sichtbares mobiles Menü: dieselbe blaue Linienfarbe wie in der Original-Header-Variante color_menu. Nur diese Landingpage ist betroffen. */
@media(max-width:991px){
  body.stm-lohnadministration-page .main_header_area .navbar-default .navbar-toggle .icon-bar{background:#1b3e90}
}
/* Mobile Überschriften nur zwischen vollständigen Wörtern umbrechen, keine einzelnen Schlussbuchstaben. */
@media(max-width:767px){
  .stm-payroll h2{font-size:clamp(20px,5.6vw,25px);line-height:1.25;letter-spacing:.4px;overflow-wrap:normal;word-break:normal;hyphens:none}
  .stm-payroll .contact-copy h2{font-size:clamp(20px,5.6vw,25px)}
}
