/* Ergänzungen für die statische Version (ersetzt Revolution Slider & Google-Maps-Iframe) */

/* Source Sans Pro 600/700 – fehlten bisher, daher wirkte die Slider-Schrift falsch */
@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:600;font-display:swap;
  src:url(../fonts/source-sans-pro-latin-600-italic.woff2) format('woff2'),url(../fonts/source-sans-pro-latin-600-italic.woff) format('woff');}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:600;font-display:swap;
  src:url(../fonts/source-sans-pro-latin-600-normal.woff2) format('woff2'),url(../fonts/source-sans-pro-latin-600-normal.woff) format('woff');}
@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:700;font-display:swap;
  src:url(../fonts/source-sans-pro-latin-700-italic.woff2) format('woff2'),url(../fonts/source-sans-pro-latin-700-italic.woff) format('woff');}

/* ---------- Slider ---------- */
.ms-slider{position:relative;width:100%;height:600px;overflow:hidden;background:#104492;}
.ms-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;}
.ms-slide.is-active{opacity:1;z-index:1;}
.ms-slide img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;max-width:none;}
.ms-slide.is-active img{animation:ms-zoom 9s ease-out forwards;}
@keyframes ms-zoom{from{transform:scale(1)}to{transform:scale(1.06)}}
.ms-caption{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0 24px 90px;box-sizing:border-box;}
.ms-caption p{margin:0;color:#fff;text-align:center;font-family:'Source Sans Pro',sans-serif;font-style:italic;font-weight:600;
  font-size:clamp(30px,6vw,80px);line-height:1.05;letter-spacing:-0.02em;text-shadow:0 2px 5px rgba(0,0,0,.5);
  max-width:100%;overflow-wrap:break-word;hyphens:manual;}
.ms-slide.is-active .ms-caption p{animation:ms-in .9s ease .3s both;}
@keyframes ms-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.ms-dots{position:absolute;left:0;right:0;bottom:110px;z-index:3;display:flex;justify-content:center;gap:10px;}
.ms-dots button{width:12px;height:12px;border-radius:50%;border:2px solid #fff;background:transparent;padding:0;cursor:pointer;opacity:.85;}
.ms-dots button.is-active{background:#fff;}
@media (max-width:1023px){.ms-slider{height:520px}}
@media (max-width:777px){.ms-slider{height:440px}.ms-caption{padding-bottom:70px}.ms-dots{bottom:80px}}
@media (max-width:479px){.ms-slider{height:360px}.ms-caption{padding:0 16px 70px}.ms-dots{bottom:76px}}
@media (prefers-reduced-motion:reduce){.ms-slide,.ms-slide img,.ms-caption p{transition:none!important;animation:none!important}}

/* ---------- Karte ---------- */
.ms-map a{position:relative;display:block;line-height:0;}
.ms-map img{width:100%;height:450px;object-fit:cover;object-position:50% 45%;display:block;max-width:none;}
.ms-map-btn{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);line-height:1.2;background:#104492;color:#fff;
  padding:12px 22px;border-radius:4px;font-weight:600;box-shadow:0 2px 8px rgba(0,0,0,.25);white-space:nowrap;transition:background .2s;}
.ms-map a:hover .ms-map-btn,.ms-map a:focus .ms-map-btn{background:#00a590;}
@media (max-width:777px){.ms-map img{height:320px}}

/* ---------- Dezente E-Mail- und Telefon-Links (Header, Footer, Team) ---------- */
html body a.ms-mail,html body a.ms-mail:hover,html body a.ms-mail:focus,html body a.ms-mail:visited,html body a.ms-mail:active,html body a.ms-tel,html body a.ms-tel:hover,html body a.ms-tel:focus,html body a.ms-tel:visited,html body a.ms-tel:active{color:inherit!important;text-decoration:none!important;font:inherit!important;background:none!important;border:0!important;box-shadow:none!important;}

/* ---------- Stellenangebote (aus karriere/stellenangebote.txt) ---------- */
.ms-stelle{margin-bottom:34px;}
.ms-stelle h2{font-size:28px;line-height:1.2;margin:0 0 12px;}
.ms-stelle p{margin:0 0 12px;}
@media (max-width:777px){.ms-stelle h2{font-size:24px}}
