#fw-martin{font-family:inherit;font-size:max(11px, calc(14px - 1pt));color:#163f56}#fw-martin *{box-sizing:border-box}#fw-martin [hidden]{display:none!important}
#fw-martin button,#fw-martin input,#fw-martin select{font:inherit}#fw-martin button{cursor:pointer}#fw-martin button:focus-visible,#fw-martin input:focus-visible,#fw-martin select:focus-visible{outline:3px solid #dc7d2f;outline-offset:3px}
#fw-martin[hidden]{display:none!important}#fw-martin-dock{position:fixed;bottom:20px;left:20px;right:auto;z-index:1200;max-width:calc(100vw - 24px)}
#fw-martin-launch{position:relative;display:flex;align-items:center;gap:10px;border:1px solid #99bfd5;border-radius:20px;background:#f4fbff;color:#004062;padding:10px 36px 10px 7px;min-height:65px;box-shadow:0 8px 30px #00406226;text-align:left}
#fw-martin-launch img{width:55px;height:73px;object-fit:contain;margin-top:-22px}#fw-martin-launch strong,#fw-martin-launch small{display:block}#fw-martin-launch small{font-size:max(11px, calc(12px - 1pt));margin-top:3px}
.fw-martin-offer{position:fixed;left:20px;right:auto;bottom:113px;z-index:1200;width:240px;display:flex;gap:10px;align-items:center;background:#fff9f0;border:1px solid #e2b276;border-radius:15px;padding:12px 14px;box-shadow:0 4px 20px #00406213}.fw-martin-offer button{border:0;background:none;font-size:max(11px, calc(23px - 1pt))!important;padding:2px 5px;color:#004062}
#fw-martin-panel{color:#163f56;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 30px);border:1px solid #aacbdf;border-radius:22px;padding:0;background:#f8fcff;box-shadow:0 20px 70px #001b3870;overflow:auto;overscroll-behavior:contain}#fw-martin-panel::backdrop{background:#0b293c80}
.fw-martin-head{position:sticky;top:0;z-index:1;display:flex;gap:16px;align-items:center;padding:16px 24px 0;background:#e7f4fb;border-bottom:1px solid #c2dcea}.fw-martin-head img{width:75px;height:116px;object-fit:contain;object-position:bottom}.fw-martin-head p{font-size:max(11px, calc(12px - 1pt));text-transform:uppercase;letter-spacing:.1em;margin:0 0 7px}.fw-martin-head h2{font-size:max(11px, calc(23px - 1pt));line-height:1.25;margin:0 0 17px}.fw-martin-head button{margin-left:auto;align-self:flex-start;background:white;border:1px solid #bdd5e3;border-radius:50%;min-width:38px;height:38px;font-size:max(11px, calc(25px - 1pt))!important;color:#004062}
.fw-martin-body{padding:22px}.fw-martin-answerbox{padding:19px;border:1px solid #cadde8;border-radius:16px;background:white;margin-bottom:20px}.fw-martin-answerbox h3{font-size:max(11px, calc(18px - 1pt));margin:0 0 10px}.fw-martin-answerbox p{font-size:max(11px, calc(15px - 1pt));line-height:1.65;margin:0 0 14px}.fw-martin-actions{display:flex;flex-wrap:wrap;gap:9px}.fw-martin-actions button{min-height:43px;padding:9px 13px;border:1px solid #a8c4d5;border-radius:9px;background:#eff7fc;color:#004062;font-weight:650}#fw-martin-jump{background:#004062;color:white;border-color:#004062}.fw-martin-answerbox details{margin-top:12px;font-size:max(11px, calc(12px - 1pt))}.fw-martin-answerbox summary{cursor:pointer}.fw-martin-body label{display:block;font-weight:650;margin-bottom:8px}#fw-martin-search,#fw-martin-voice{width:100%;padding:12px;border-radius:9px;background:white;border:1px solid #a8c4d5;min-height:44px;color:#163f56}#fw-martin-voice{margin-top:8px}
#fw-martin-topics{display:grid;gap:8px;margin-top:12px}#fw-martin-topics button{text-align:left;border:1px solid #cbdee9;background:#fff;border-radius:10px;padding:13px 15px;color:#004062;line-height:1.35}#fw-martin-topics button:hover,#fw-martin-topics button[aria-pressed=true]{background:#e6f2fa;border-color:#7eabc6}.fw-martin-disclosure{font-size:max(11px, calc(12px - 1pt));line-height:1.5;margin:18px 0 0;color:#526777}#fw-martin-audio-status{font-size:max(11px, calc(12px - 1pt));margin-top:10px}.fw-martin-speaking .fw-martin-head img{animation:fw-martin-breathe 2.4s ease-in-out infinite;transform-origin:bottom}
body:has(#fw-martin:not([hidden]):not(.fw-martin-top)) main{padding-bottom:125px}
@keyframes fw-martin-breathe{50%{transform:translateY(-3px) rotate(1deg)}}
@media(max-width:600px){#fw-martin-dock{bottom:12px;left:12px;right:auto}#fw-martin-launch{padding:7px 36px 7px 5px}.fw-martin-offer{left:12px;right:auto;bottom:99px}.fw-martin-head{padding:12px 15px 0;gap:10px}.fw-martin-head h2{font-size:max(11px, calc(20px - 1pt))}.fw-martin-head img{width:62px;height:98px}.fw-martin-body{padding:14px}.fw-martin-answerbox{padding:14px}}
@media(prefers-reduced-motion:reduce){.fw-martin-speaking .fw-martin-head img{animation:none}}
@media print{#fw-martin{display:none!important}}

body.portal-locked #fw-martin{display:none!important}

#fw-martin-live-status{background:#eaf5fb;border-left:3px solid #004062;border-radius:6px;padding:10px 12px;font-weight:650}

.fw-martin-grip{display:grid;place-items:center;min-width:28px;min-height:40px;cursor:grab;user-select:none;font-size:max(11px, calc(25px - 1pt))}.fw-martin-head{cursor:move;touch-action:none}.fw-martin-reset{margin-top:16px;padding:8px;border:1px solid #aacbdf;border-radius:8px;background:white;color:#163f56}.fc-studio #fw-martin-dock{bottom:88px;left:12px;max-width:230px}.fc-studio #fw-martin-launch{max-width:230px;font-size:max(11px, calc(12px - 1pt))}.fc-studio #fw-martin-launch img{width:35px;height:48px;margin:0}.fc-studio #fw-martin-panel{position:fixed}.fc-studio #fw-martin-offer{display:none}

#fw-martin-hide{position:absolute;top:1px;right:1px;display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border:1px solid #a8c4d5;border-radius:50%;background:#fff;color:#004062;font-size:max(11px, calc(20px - 1pt))!important;line-height:1;cursor:pointer}#fw-martin-hide:hover{background:#fff0df;border-color:#bc6127}
/* 6.4: Ergänzung nur zum Lesen (z. B. Galeriefrist), nicht Teil der Sprachaufnahme */
#fw-martin-note{padding:10px 12px;border-left:3px solid #c8a046;border-radius:8px;background:#fbf6ea;color:#3d3420}

/* 7.1: Virtueller Martin fest in der weißen Kopfzeile (Kundenportal: zwischen „Mein Kundenbereich“ und „Status“;
   Fotowerkstatt: gleich neben der Überschrift). Kein Schweben mehr – verdeckt nichts. */
#fw-martin.fw-martin-top{flex:none;display:flex;align-items:center;margin-right:auto}
#fw-martin.fw-martin-top #fw-martin-dock{position:static;inset:auto;margin:0;max-width:none;display:flex;align-items:center;padding-left:20px;border-left:1px solid #d6e3ea}
/* !important nur gegen die alten Handy-Regeln für den schwebenden Knopf (assets/simple.css); die Schriftgröße bleibt am
   Desktop frei, damit die Schrifteinstellung im Mitarbeiterbereich (employee-desktop-type.css) weiter wirkt. */
#fw-martin.fw-martin-top #fw-martin-launch{display:flex;align-items:center;gap:10px!important;min-height:48px!important;max-width:none;margin:0;padding:4px 18px 4px 4px!important;border:1px solid #9fc3d8;border-radius:999px!important;background:#f2f9fd;color:#004062;box-shadow:0 1px 0 #00406210;font-size:max(11px, calc(14px - 1pt));line-height:1.2;text-align:left;white-space:nowrap;transition:background-color .15s,border-color .15s,box-shadow .15s}
#fw-martin.fw-martin-top #fw-martin-launch:hover{background:#e3f1f9;border-color:#5f97b8;box-shadow:0 3px 12px #00406218}
#fw-martin.fw-martin-top #fw-martin-launch::before{content:"";flex:none;width:40px;height:40px;border-radius:50%;background:#d9ebf5 url("virtual-martin.png") 50% 2px/66px auto no-repeat;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #9fc3d8}
#fw-martin.fw-martin-top #fw-martin-launch img,#fw-martin.fw-martin-top .fw-martin-grip,#fw-martin.fw-martin-top #fw-martin-hide,#fw-martin.fw-martin-top .fw-martin-offer{display:none!important}
#fw-martin.fw-martin-top #fw-martin-launch strong{font-size:inherit!important;font-weight:750}
#fw-martin.fw-martin-top #fw-martin-launch small{margin-top:1px;font-size:max(11px, calc(12px - 1pt));font-weight:600;color:#4b6d80}
/* Kundenportal: Martin hängt an der Marke, die Bereichslinks bleiben mittig im übrigen Platz */
.site-header .header-inner:has(> #fw-martin.fw-martin-top:not([hidden])) > .quick-nav{margin-right:auto}
/* Fotowerkstatt: Überschrift nur so breit wie nötig, Martin direkt daneben, Werkzeuge rechts */
.fc-header:has(> #fw-martin.fw-martin-top:not([hidden])) > .fc-heading{flex:0 1 auto}
.fc-studio #fw-martin.fw-martin-top #fw-martin-launch{min-height:44px!important;padding:4px 14px 4px 4px!important}
.fc-studio #fw-martin.fw-martin-top #fw-martin-launch::before{width:36px;height:36px;background-size:60px auto}
.fc-compact #fw-martin.fw-martin-top #fw-martin-launch{min-height:38px!important;padding:2px 12px 2px 2px!important}
.fc-compact #fw-martin.fw-martin-top #fw-martin-launch::before{width:32px;height:32px;background-size:54px auto}
.fc-compact #fw-martin.fw-martin-top #fw-martin-launch small{display:none}
/* Wenig Platz: zuerst die Unterzeile, dann nur noch das Gesicht (Name bleibt für Screenreader und als Tooltip) */
@media (max-width:1280px){#fw-martin.fw-martin-top #fw-martin-launch small{display:none}}
@media (max-width:1366px) and (min-width:601px){
 .site-header #fw-martin.fw-martin-top #fw-martin-launch{padding:3px!important;gap:0!important}
 .site-header #fw-martin.fw-martin-top #fw-martin-launch>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .site-header #fw-martin.fw-martin-top #fw-martin-dock{padding-left:14px}
}
@media (max-width:720px){#fw-martin.fw-martin-top #fw-martin-launch{font-size:max(11px, calc(14px - 1pt))!important}}
@media (max-width:600px){
 .site-header .header-inner:has(> #fw-martin.fw-martin-top:not([hidden])){gap:10px}
 .site-header .header-inner:has(> #fw-martin.fw-martin-top:not([hidden])) .brand-logo{width:min(50vw,200px)}
 #fw-martin.fw-martin-top #fw-martin-dock{padding-left:10px}
 #fw-martin.fw-martin-top #fw-martin-launch{min-height:44px!important;padding:2px 12px 2px 2px!important;gap:8px!important;font-size:max(11px, calc(13px - 1pt))!important;line-height:1.1}
 #fw-martin.fw-martin-top #fw-martin-launch>span{max-width:70px;white-space:normal}
 #fw-martin.fw-martin-top #fw-martin-launch::before{width:38px;height:38px;background-size:62px auto}
}
/* Sehr schmale Handys (360/375 px): nur das Gesicht, damit Logo und Menü nicht umbrechen */
@media (max-width:389px){
 #fw-martin.fw-martin-top #fw-martin-launch{padding:2px!important;gap:0!important}
 #fw-martin.fw-martin-top #fw-martin-launch>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #fw-martin.fw-martin-top #fw-martin-dock{padding-left:8px}
}
