/* QM PERSONAL – Vorschau Arbeitnehmer*innen-Profil, angelehnt an FB-Vorschau */
.profile-preview{max-width:72rem;margin-inline:auto}
.profile-preview__nav,.profile-nav{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0 1.25rem}
.profile-preview__nav--bottom{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--qm-border,#dce6cc)}
.profile-preview__nav-button,.profile-nav a,.profile-preview__section-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem .95rem;color:#365417;background:#fff;border:1px solid var(--qm-primary,#7fa82f);border-radius:.5rem;font:inherit;font-weight:700;text-decoration:none;text-align:center;cursor:pointer}
.profile-preview__nav-button{min-height:48px;border-width:2px}
.profile-preview__nav-button:hover,.profile-preview__nav-button:focus-visible,.profile-nav a:hover,.profile-nav a:focus-visible,.profile-preview__section-nav a:hover,.profile-preview__section-nav a:focus-visible{color:#fff;background:var(--qm-primary,#7fa82f)}
.profile-preview a:focus-visible,.profile-preview button:focus-visible{outline:3px solid rgba(127,168,47,.3);outline-offset:2px}
.profile-preview__hero{padding:clamp(1.2rem,3vw,2rem);background:linear-gradient(135deg,#fff,#f4f8ec);border:2px solid var(--qm-primary,#7fa82f);border-radius:.9rem;text-align:center}
.profile-preview__eyebrow{margin:0 0 .4rem;color:#597426;font-weight:700}
.profile-preview__hero h1{margin:0;color:#243b0e;font-size:clamp(1.5rem,4vw,2.25rem);line-height:1.2}
.profile-preview__meta{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem 1.25rem;margin-top:1rem;color:#3f4738}
.profile-nav{padding:1rem;background:var(--qm-soft-2,#f8fbf2);border:1px solid var(--qm-border,#dce6cc);border-radius:.75rem;scroll-margin-top:5rem}
.profile-preview__section{margin:1.25rem 0;padding:clamp(1rem,2.5vw,1.35rem);border:1px solid #d8e1cd;border-radius:.875rem;box-shadow:0 .25rem .9rem rgba(0,0,0,.045);scroll-margin-top:5rem}
.profile-preview__section--green{background:#f4f9ec;border-color:#cfdfb5}.profile-preview__section--blue{background:#f1f7fc;border-color:#c9ddec}.profile-preview__section--yellow{background:#fffbea;border-color:#eadfae}.profile-preview__section--purple{background:#f7f3fb;border-color:#dcd0e8}.profile-preview__section--mint{background:#f0faf5;border-color:#c7e4d5}.profile-preview__section--gray{background:#f7f7f7;border-color:#ddd}.profile-preview__section--orange{background:#fff5ef;border-color:#ead2c4}
.profile-preview__section-heading{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid rgba(80,100,60,.18)}
.profile-preview__section-heading span{display:inline-flex;flex:0 0 2.25rem;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;color:#fff;background:var(--qm-primary,#7fa82f);border-radius:50%;font-weight:700}
.profile-preview__section-heading h2{margin:0;color:#243b0e;font-size:1.3rem}
.profile-preview__section h3{margin:1.25rem 0 .75rem;color:#365417;font-size:1.08rem}
.profile-preview__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0 0 1rem}
.profile-preview__facts>div{min-width:0;padding:.75rem;background:rgba(255,255,255,.82);border:1px solid rgba(70,95,45,.18);border-radius:.55rem}
.profile-preview__facts dt{margin-bottom:.25rem;color:#4f5a48;font-size:.9rem;font-weight:700}.profile-preview__facts dd{margin:0;color:#1a1a1a;overflow-wrap:anywhere}.profile-preview__facts-full{grid-column:1/-1}
.profile-preview__projects{display:grid;gap:1rem}.profile-preview__project{padding:1rem;background:rgba(255,255,255,.78);border:1px solid rgba(70,95,45,.2);border-radius:.65rem}
.profile-preview__table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:1rem}.profile-preview__table{width:100%;min-width:30rem;border-collapse:collapse;table-layout:fixed;background:#fff}.profile-preview__table th,.profile-preview__table td{padding:.75rem;border:1px solid var(--qm-border,#dce6cc);text-align:left;vertical-align:top;overflow-wrap:anywhere}.profile-preview__table th{color:#29420f;background:var(--qm-soft,#eef5e3)}.profile-preview__table--software th:first-child{width:45%}
.profile-preview__tag-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.65rem;margin:0;padding:0;list-style:none}.profile-preview__tag-list li{padding:.75rem;background:rgba(255,255,255,.84);border:1px solid rgba(92,69,118,.22);border-radius:.5rem}
.profile-preview__note{margin-top:1rem;padding:.9rem;background:rgba(255,255,255,.84);border:1px solid rgba(70,95,45,.18);border-radius:.55rem}.profile-preview__note p{margin:0;overflow-wrap:anywhere}.profile-preview__empty{margin:0;padding:.85rem;color:#555;background:rgba(255,255,255,.75);border-radius:.5rem}.profile-preview__period:empty{display:none}
.profile-preview__section-nav{display:flex;justify-content:flex-end;margin-top:1rem;padding-top:.85rem;border-top:1px solid rgba(80,100,60,.16)}
@media(max-width:48rem){.profile-preview__nav{flex-direction:column;align-items:stretch}.profile-preview__nav-button{width:100%}.profile-preview__meta{align-items:stretch;flex-direction:column}.profile-preview__facts{grid-template-columns:1fr}.profile-preview__facts-full{grid-column:1}.profile-nav{display:grid;grid-template-columns:1fr}.profile-nav a,.profile-preview__section-nav a{width:100%}.profile-preview__section-heading{align-items:flex-start}}
@media print{.profile-preview__nav,.profile-nav,.profile-preview__section-nav,.site-header,.site-footer{display:none!important}.profile-preview__section,.profile-preview__hero{break-inside:avoid;box-shadow:none}.profile-preview__table-wrap{overflow:visible}.profile-preview__table{min-width:0}}
