/* RFS responsive edition 1.3.0
 * Three intentionally tuned layouts: desktop (>= 1261px), tablet (701–1260px),
 * smartphone (<= 700px). All interactions and copy stay in real HTML.
 */
:root{--rfs-touch:44px}
.rs-home,.rs-nav,.rs-overview,.rs-cta{max-width:100%}
.rs-home img{max-width:100%}
.rs-nav a:focus-visible,.rs-home a:focus-visible,.rs-nav button:focus-visible{outline:3px solid #24b7ff;outline-offset:3px}
.rs-audience-card,.rs-audience-info,.rs-process-copy,.rs-assurance-row{min-width:0}
.rs-audience-info h3,.rs-audience-info p{overflow-wrap:break-word}
.rs-hero-actions>a,.rs-audience-info a,.rs-cta-buttons>a{min-height:var(--rfs-touch)}
.rs-menu.menu-toggle{width:46px;height:46px}
#standorte,#leistungen,#kontakt,#zielgruppen,#vorteile,#referenzen,#ueber-uns,#ablauf{scroll-margin-top:88px}

/* Compact desktop / landscape tablet: avoid overcrowding the header. */
@media (max-width:1260px){
 .rs-nav-inner{width:calc(100% - 40px);gap:16px}
 .rs-nav .rs-brand{min-width:0;max-width:calc(100% - 68px)}
 .rs-nav .rs-brand img{width:120px;height:48px}
 .rs-nav .rs-brand-words strong{font-size:14px}
 .rs-nav .rs-brand-words small{font-size:9.3px}
 .rs-nav .rs-menu.menu-toggle{display:flex;position:relative;z-index:150;flex-shrink:0}
 .rs-nav .rs-links{display:none;position:absolute;z-index:140;top:70px;right:0;left:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:9px max(20px,calc((100% - 1040px)/2)) 22px;box-shadow:0 20px 34px rgba(0,28,54,.17);border-top:1px solid #dbe8f1;max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;font-size:15px;white-space:normal}
 .rs-nav .rs-links.active{display:flex}
 .rs-nav .rs-links>a{justify-content:flex-start;padding:12px 9px;min-height:var(--rfs-touch);border-bottom:1px solid #ecf2f7}
 .rs-nav .rs-links .rs-head-phone,.rs-nav .rs-links .rs-head-cta{margin-top:10px;width:100%;justify-content:center;min-height:var(--rfs-touch);border-bottom:0}
 .rs-home .services-section{padding-top:64px}
}

/* Tablet: generous cards, readable process, and a clear 2-column information band. */
@media (min-width:701px) and (max-width:1100px){
 .rs-hero.hero{min-height:415px}
 .rs-hero-inner{min-height:415px;padding:24px clamp(27px,4vw,46px);justify-content:center}
 .rs-hero h1{max-width:510px;font-size:clamp(27px,3.45vw,36px);line-height:1.15}
 .rs-hero p{max-width:490px;font-size:15px;line-height:1.46}
 .rs-hero-media{width:75%;background-position:59% center}
 .rs-hero-shade{background:linear-gradient(90deg,rgba(2,32,56,.98) 0%,rgba(2,32,56,.97) 26%,rgba(2,32,56,.90) 42%,rgba(2,32,56,.45) 65%,rgba(2,32,56,.07) 100%)}
 .rs-benefits{gap:9px 18px;margin-top:15px}
 .rs-benefits b{font-size:11px}
 .rs-overview-left{padding:26px 28px 0}
 .rs-overview h2{font-size:clamp(22px,2.6vw,27px)}
 .rs-audience-grid{gap:14px}
 .rs-audience-card{height:auto;min-height:182px;grid-template-columns:39% 61%}
 .rs-audience-info{padding:13px 14px 12px}
 .rs-audience-info h3{font-size:13.4px;line-height:1.22;margin-bottom:10px;min-height:32px}
 .rs-audience-info p{font-size:12px;line-height:1.36;margin-bottom:10px}
 .rs-audience-info a{font-size:12px;padding:9px 10px}
 .rs-mini-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:22px}
 .rs-mini-services a{min-height:98px;font-size:12px;gap:7px}
 .rs-mini-services svg{height:35px;width:35px}
 .rs-process{margin-left:-28px;margin-right:-28px;min-height:180px}
 .rs-process>img{display:block;width:27%;min-height:180px;object-fit:cover}
 .rs-process-copy{padding:16px 19px}
 .rs-process h2{font-size:22px;margin-bottom:10px}
 .rs-process-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px}
 .rs-process-steps b{font-size:12px}
 .rs-process-steps small{font-size:11px}
 .rs-assurance{padding:23px 23px 16px;min-height:0}
 .rs-assurance h2{font-size:23px}
 .rs-references{padding:22px;min-height:100%}
 .rs-references h2{font-size:22px}
 .rs-references p{font-size:12px;line-height:1.5}
 .rs-cta{padding:18px 30px;gap:13px;flex-wrap:wrap;justify-content:center}
 .rs-cta>div:first-of-type{flex:1;min-width:290px}
 .rs-cta-buttons{margin-left:0}
 .rs-cta-buttons a{min-height:44px;display:flex;align-items:center;justify-content:center}
}
@media (min-width:701px) and (max-width:870px){
 .rs-audience-grid{grid-template-columns:1fr}
 .rs-audience-card{height:180px;min-height:180px;grid-template-columns:34% 66%}
 .rs-audience-info h3{font-size:16px}
 .rs-audience-info p{font-size:13px}
 .rs-overview-right{grid-template-columns:1fr 1fr}
 .rs-references .rs-ref-content{width:66%}
 .rs-references>img{opacity:.64}
 .rs-hero h1{max-width:480px}
}

/* Smartphone: photo-first hero, easy thumb targets, and full-width service cards. */
@media (max-width:700px){
 html{scroll-padding-top:78px}
 .rs-nav{height:64px}
 .rs-nav-inner{width:calc(100% - 28px);gap:8px}
 .rs-nav .rs-brand{gap:7px;max-width:calc(100% - 55px)}
 .rs-nav .rs-brand img{width:103px;height:43px}
 .rs-nav .rs-brand-words strong{font-size:11.5px;line-height:1.08}
 .rs-nav .rs-brand-words small{font-size:8.4px;line-height:1.14}
 .rs-nav .rs-links{top:64px;max-height:calc(100dvh - 64px);padding:9px 17px 18px}
 .rs-nav .rs-menu.menu-toggle{width:44px;height:44px}
 .rs-hero.hero{background:#042743;min-height:0}
 .rs-hero-media{position:absolute;top:0;bottom:auto;left:0;right:0;width:100%;height:216px;opacity:1;background-position:57% 45%;background-size:cover;background-repeat:no-repeat}
 .rs-hero-shade{position:absolute;top:0;bottom:auto;left:0;right:0;height:217px;background:linear-gradient(0deg,#042743 0%,rgba(4,39,67,.03) 27%,rgba(0,0,0,0) 75%)}
 .rs-hero-inner{padding:229px 20px 26px;min-height:0;display:flex;align-items:flex-start;justify-content:flex-start}
 .rs-eyebrow{font-size:10.2px;letter-spacing:.14em}
 .rs-eyebrow i{width:26px}
 .rs-hero h1{font-size:clamp(26px,7.3vw,33px);line-height:1.14;letter-spacing:-.035em;max-width:100%;margin:10px 0 12px;text-wrap:pretty}
 .rs-hero p{font-size:14px;line-height:1.48;max-width:95%;margin:0 0 18px}
 .rs-hero-actions{width:100%;gap:10px;display:grid;grid-template-columns:1fr}
 .rs-hero-actions a{width:100%;min-height:46px;font-size:13px;padding:12px 14px;text-align:center}
 .rs-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px 12px;margin-top:18px}
 .rs-benefits span{min-width:0;gap:5px;align-items:flex-start}
 .rs-benefits b{font-size:10.8px;line-height:1.35}
 .rs-overview-left{padding:27px 18px 0}
 .rs-overview h2{font-size:clamp(22px,6vw,27px);line-height:1.18;margin-bottom:16px}
 .rs-toplabel{font-size:10px}
 .rs-audience-grid{grid-template-columns:1fr;gap:17px}
 .rs-audience-card{display:flex;flex-direction:column;height:auto;min-height:0;border-radius:12px}
 .rs-audience-card>img{width:100%;height:155px;min-height:155px;object-fit:cover;object-position:center 45%}
 .rs-audience-info{padding:18px 18px 16px;min-height:186px}
 .rs-audience-info h3{font-size:16px;min-height:0;margin:0 0 10px;padding-left:41px;line-height:1.22}
 .rs-audience-icon{top:15px;left:16px}
 .rs-audience-info p{font-size:13px;line-height:1.46;margin-bottom:14px}
 .rs-audience-info a{font-size:12.5px;padding:11px 12px;min-height:44px;margin-top:auto}
 .rs-service-label{margin-top:29px}
 .rs-mini-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}
 .rs-mini-services a{min-height:104px;font-size:12.3px;gap:8px;padding:11px 7px;line-height:1.22}
 .rs-mini-services svg{height:34px;width:34px}
 .rs-process{margin:0 -18px;min-height:0;border-radius:0}
 .rs-process>img{display:none}
 .rs-process-copy{padding:24px 20px 26px}
 .rs-process h2{font-size:22px;margin:4px 0 18px}
 .rs-process-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}
 .rs-process-steps b{font-size:12px}
 .rs-process-steps small{font-size:11px;line-height:1.38}
 .rs-process-steps strong{width:25px;height:25px}
 .rs-overview-right{grid-template-columns:1fr}
 .rs-assurance{padding:27px 20px}
 .rs-assurance h2{font-size:25px;margin-bottom:18px}
 .rs-assurance-row{grid-template-columns:49px 1fr;gap:14px;margin-bottom:18px}
 .rs-assurance-row h3{font-size:14px}
 .rs-assurance-row p{font-size:12.3px;line-height:1.4}
 .rs-references{min-height:235px;padding:24px 20px}
 .rs-references h2{font-size:24px}
 .rs-references p{font-size:13px}
 .rs-ref-content{width:65%}
 .rs-references>img{opacity:.55;width:54%}
 .rs-cta{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;padding:23px 19px;gap:11px}
 .rs-cal-icon{font-size:30px}
 .rs-cta>div:first-of-type{flex:1;min-width:0}
 .rs-cta h2{font-size:17px;line-height:1.27}
 .rs-cta p{font-size:12px;line-height:1.45}
 .rs-cta-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:2px 0 0}
 .rs-cta-buttons a{white-space:normal;min-height:46px;padding:10px 8px;font-size:11px;line-height:1.2;display:flex;align-items:center;justify-content:center}
 .rs-home .services-section{padding-top:54px}
 .services-section .service-picture{height:220px}
 .services-section .service-body{padding:22px 20px 24px}
 .services-section .service-actions .service-link,.services-section .service-actions .service-direct{min-height:46px}
 .form-card input,.form-card textarea,.form-card select{font-size:16px;min-height:46px}
 .form-card textarea{min-height:112px}
 .form-card{padding:27px 20px}
 .form-card label{font-size:13px}
 .contact-copy h2{overflow-wrap:break-word}
 .location-choice{min-height:55px}
 .locations-map{overflow-x:auto;overflow-y:hidden;touch-action:pan-x pan-y;scrollbar-color:#8ecfe9 #eff8fb}
 .locations-map>svg{display:block;width:580px;max-width:none;height:auto;min-height:0}
 .locations-map .map-legend{min-width:580px;padding:6px 15px 15px}
 .locations-map .marker-label{font-size:19px}
 .locations-copy{padding:25px 19px}
 .locations-copy .location-choice{padding:12px;gap:10px}
 .locations-copy .location-choice strong{font-size:13.5px}
 .locations-copy .location-choice small{font-size:11px}
 .mobile-cta{min-height:45px}
 .wa-floating{width:54px;height:54px;min-height:54px}
 .inquiry-dialog{width:calc(100% - 22px);padding:22px 18px;max-height:calc(100dvh - 30px)}
 .inquiry-dialog .dialog-actions{flex-direction:column}
 .inquiry-dialog .dialog-actions>*{width:100%;min-height:44px}
 #standorte,#leistungen,#kontakt,#zielgruppen,#vorteile,#referenzen,#ueber-uns,#ablauf{scroll-margin-top:74px}
}
@media (max-width:365px){
 .rs-nav-inner{width:calc(100% - 20px)}
 .rs-nav .rs-brand img{width:91px;height:40px}
 .rs-nav .rs-brand-words strong{font-size:10px}
 .rs-nav .rs-brand-words small{font-size:7.5px}
 .rs-nav .rs-brand{gap:5px}
 .rs-hero-inner{padding-inline:16px}
 .rs-hero h1{font-size:25px}
 .rs-hero p{font-size:13.5px}
 .rs-overview-left{padding-left:13px;padding-right:13px}
 .rs-process{margin:0 -13px}
 .rs-audience-info{padding:15px 14px}
 .rs-audience-info h3{font-size:15px}
 .rs-mini-services a{font-size:11.5px}
 .rs-process-steps{grid-template-columns:1fr}
 .rs-cta-buttons{grid-template-columns:1fr}
 .rs-cta{padding:22px 16px}
 .rs-cta-buttons a{font-size:12px}
 .rs-assurance{padding-inline:17px}
 .form-card{padding-inline:17px}
}
@media (prefers-reduced-motion:reduce){
 .rs-home *, .rs-nav *{scroll-behavior:auto!important;animation-duration:0.01ms!important;transition-duration:0.01ms!important}
}
